POI Core strawman: encoding geography

Here are notes on modifying geometry to harmonize with the W3C Geospatial Vocabulary report [1] and GeoRSS [2]

[1] http://www.w3.org/2005/Incubator/geo/XGR-geo-20071023/
[2] http://www.georss.org/gml

There's more specifying to do here, put I've put some examples below.

CHANGE:
<point latitude="42.360890561289295" longitude="-71.09139204025269"/>
TO:
<gml:Point><gml:pos>42.360890561289295 -71.09139204025269</gml:pos></gml:Point>

CHANGE:
<point id="mainpoint" latitude="27.174799" longitude="78.042111" altitude="10m"/>
TO:
<gml:Point id="mainpoint" srsName="urn:ogc:def:crs:EPSG:6.6:4979" srsDimension="3">
	<gml:pos>27.174799 78.042111 10</gml:pos>
</gml:Point>

reference: http://www.georss.org/gml
"If your GeoRSS GML data is in a coordinate reference system other than lat/lon WGS84 (often technically referred to as EPSG:4236), add in an srsName attribute to your geometry. 3D decimal degrees CRS example The key thing here is to use CRS epsg:4979, specify the srsDimension attribute, and include a third number in your coordinate tuple."


CHANGE:
<route>
	<point order="0" latitude="42.360890561289295" longitude="-71.09139204025269"/>
	<point order="1" latitude="42.361176" longitude="-71.09018"/>
	<point order="2" latitude="42.36272976137689" longitude="-71.09049081802368"/>
	<point order="3" latitude="42.36318955298668" longitude="-71.09677791595459"/>
	<point order="4" latitude="42.363617631805496" longitude="-71.10156297683716"/>
</route>

TO:
<gml:LineString>
	<gml:posList>
		42.360890561289295 -71.09139204025269 42.361176 -71.09018 42.36272976137689 -71.09049081802368 ...
	</gml:posList>
</gml:LineString>

CHANGE:
<area>
	<point order="0" latitude="42.360890561289295" longitude="-71.09139204025269"/>
	<point order="1" latitude="42.361176" longitude="-71.09018"/>
	<point order="2" latitude="42.36272976137689" longitude="-71.09049081802368"/>
	<point order="3" latitude="42.36318955298668" longitude="-71.09677791595459"/>
	<point order="4" latitude="42.363617631805496" longitude="-71.10156297683716"/>
	<point order="5" latitude="42.360890561289295" longitude="-71.09139204025269"/>
</area>
			
TO:
<gml:Polygon>
	<gml:exterior><gml:LinearRing>
		42.360890561289295 -71.09139204025269 42.361176 -71.09018 42.36272976137689 -71.09049081802368 ...
	</gml:LinearRing></gml:exterior>
</gml:Polygon>



---
Raj
The OGC: Making location count...
http://www.opengeospatial.org/contact

Received on Wednesday, 4 May 2011 18:22:24 UTC