Home
OGC Network

GML Point Profile

This profile defines a simple point geometry in Geography Markup Language (GML). This is a profile of GML version 3.1.1.

Here is the formal specification

Here is an example:

<?xml version="1.0" encoding="UTF-8"?>
<PhotoCollection xmlns="http://www.myphotos.org" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.myphotos.org MyPhotoExample.xsd">
<items>
<Item>
<name>Stanley Park</name>
<description>A rather bad shot of the park from the city</description>
<where>Vancouver</where>
<position>
<gml:Point srsDimension="2" srsName="urn:ogc:def:crs:EPSG:6.6:4326">
<gml:pos>49.27 -123.11</gml:pos>
</gml:Point>
</position>
</Item>
<Item>
<name>Stanley Park</name>
<description>A much better shot of the park from the city</description>
<where>Vancouver</where>
<position>
<gml:Point srsDimension="2" srsName="urn:ogc:def:crs:EPSG:6.6:4326" axisLabels="x y">
<gml:pos>49.27 -123.11</gml:pos>
</gml:Point>
</position>
</Item>
</items>
</PhotoCollection>