https://ark.lparchaeology.com/wiki/index.php?title=Sf_geo_number&feed=atom&action=history
Sf geo number - Revision history
2024-03-29T09:22:37Z
Revision history for this page on the wiki
MediaWiki 1.27.1
https://ark.lparchaeology.com/wiki/index.php?title=Sf_geo_number&diff=2174&oldid=prev
Stuarteve: /* Additional Fields */
2009-07-13T10:47:10Z
<p><span dir="auto"><span class="autocomment">Additional Fields</span></span></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 10:47, 13 July 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l3" >Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>===Additional Fields===</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>===Additional Fields===</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'op_gml_location' - this is where the resultant GML file should be saved</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">*</ins>'op_gml_location' - this is where the resultant GML file should be saved</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'op_coord_fields'  - an array containing two properly setup number fields. The first one in the array is taken to be easting, 2nd is northing</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">*</ins>'op_coord_fields'  - an array containing two properly setup number fields. The first one in the array is taken to be easting, 2nd is northing</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'op_projection' - the projection of the coords in EPSG format (e.g. "EPSG:27700" for British National Grid).  </div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">*</ins>'op_projection' - the projection of the coords in EPSG format (e.g. "EPSG:27700" for British National Grid).</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>===Example Configuration===</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>===Example Configuration===</div></td></tr>
</table>
Stuarteve
https://ark.lparchaeology.com/wiki/index.php?title=Sf_geo_number&diff=756&oldid=prev
Stuarteve at 10:46, 13 July 2009
2009-07-13T10:46:45Z
<p></p>
<p><b>New page</b></p><div>===Description===<br />
The sf_geo_number is a subform for handling coordinate pairs. You can add two number fields to the form representing and x and a y coordinate and then the form will add the numbers to the database and also create a GML file containing all the coord pairs for that itemkey.<br />
<br />
===Additional Fields===<br />
'op_gml_location' - this is where the resultant GML file should be saved<br />
'op_coord_fields' - an array containing two properly setup number fields. The first one in the array is taken to be easting, 2nd is northing<br />
'op_projection' - the projection of the coords in EPSG format (e.g. "EPSG:27700" for British National Grid). <br />
<br />
===Example Configuration===<br />
<pre><br />
$conf_mcd_geography =<br />
array(<br />
'view_state' => 'max',<br />
'edit_state' => 'view',<br />
'sf_nav_type' => 'full',<br />
'sf_title' => 'geography', <br />
'sf_html_id' => 'job_geography', // Must be unique<br />
'script' => 'php/subforms/sf_geo_number.php',<br />
'op_label' => 'space',<br />
'op_input' => 'save',<br />
'fields' => array(<br />
$conf_field_easting,<br />
$conf_field_northing<br />
),<br />
'op_gml_location' => "$ark_server_path\data\mapping\job_pt.gml",<br />
'op_coord_fields' => array(<br />
$conf_field_easting,<br />
$conf_field_northing<br />
),<br />
'op_projection' => 'EPSG:27700'<br />
);<br />
</pre><br />
<br />
[[category:Administrator]]</div>
Stuarteve