GML Profiles
While the GML schemas are arranged in a modular fashion (e.g. one need only import geometryBasic0D1D.xsd for many applications), many have felt the need to have a lower bar to facilitate the broader and more rapid adoption of GML. This is accomodated in GML by the use of profiles. GML defines a profile (in the specification) and a number of profiles have been created or are being proposed, including:
-
A very simple GML Point Profile aimed at specification developers that have point geometric data but do not want to use the GML grammar.
-
A simple GML for Simple Features profile aimed at supporting vector feature requests and transactions (e.g. to/from a WFS).
-
A GML profile for GMJP2 (GML in JPEG 2000)
-
A GML profile for RSS (discussed below)
In addition, the GML specification provides a subset tool that can automatically generate compliant profiles of GML containing a user-specified list of components.
I believe that each of these are important steps forward in increasing the acceptance of GML.
We should note that Profiles are not to be confused with Application Schemas. Profiles live in the GML namespaces (http://www.opengis.org/gml) and define restricted subsets of GML. Application schemas are XML vocabularies defined using GML and which live in an application-defined target namespace. Application schemas can be built on specific GML profiles or use the full GML schema set.
When Points are sufficient:
The GML Point Profile contains a single GML object, namely a gml:Point. It can be used in any XML Schema simply be importing the Point Profile and referencing the point as required. A simple example might look as follows:
<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
MyGoodPhotos.xsd">
<items>
<Item>
<name> Lynn Valley</name>
<description>A shot of the falls from the suspension bridge</description>
<where>North Vancouver</where>
<position>
<gml:Point srsDimension="2" srsName="urn:ogc:def:crs:EPSG:6.6:4326"> <gml:pos>49.40 -123.26</gml:pos>
</gml:Point>
</position>
</Item>
</items>
</PhotoCollection>
Note that in this case the ONLY GML is the gml:Point object. The rest is defined by the photo-collection schema.
Simple and Stupid is Often Best
The GML Profile for Simple Features is a more complete profile of GML than the Point Profile and provides sufficient support for a wide range of vector feature objects. It includes:
1. A reduced geometry model allowing 0d, 1d and 2d linear geometric objects (all based on linear interpolation) and the corresponding aggregate geometries (gml:MultiPoint, gml:MultiCurve, etc).
2. A simplified feature model which can only be one level deep (in the general GML model, arbitrary nesting of features and feature properties is not permitted).
3. All non-geometric properties must be XML Schema simple types i.e. cannot contain nested elements.
4. Remote property value references (xlink:href) just like in the main GML specification.
Since the profile aims to provide a simple entry point it does not provide support for:
-
coverages
-
topology
-
observations
-
value objects (for real time sensor data)
-
nor support for dynamic features.
Nonetheless it will support a good variety of real world problems.
A Possible Profile for RSS
The RSS community may have need for a different GML profile, one that DOES NOT have the complexity of the Simple Features Profile from a geometry perspective, but DOES have items needed in a news feed, like:
-
time (Time position, time duration)
-
dynamic features
-
observations
-
simple geometry (Points, LineStrings, Polygons)
-
features
Here is a draft of this profile:
For those who want more:
Although it is not all that widely known, GML has incorporated a profiling tool as part of the specification since GML 3. This profiling tool is referred to as a subset tool and is a pair of XSLT scripts written by Paul Daisey of the US Census Bureau. These scripts permit the automatic generation of a profile or a profile starting point should you wish to additional manual editing or schema restriction (remember that a profile is always a strict restriction of the full GML specification, and any application schema that can be generated using a profile must also be a valid application schema with respect to the full GML specification). In fact, both of the profiles above were generated using the subset tool, followed by some manual edits to enforce some specific schema restrictions.
The subset tool can be used to generate profiles for many other reasons as well. Simply list the elements/attributes you want included in the resultant profile schema and run the tool. The result, a single profile schema file containing only the user-specified items and all of the element, attribute and type declarations on which the specified items depend. Profile schemas have been created in this manner for a range of other specifications including IHO S-57 and GML in JPEG 2000. This ensures that the application schemas developed on these profiles do not carry around any components that will never be used.


GMLSF makes it much easier to use GML and WFS in multiple applications, and will translate to lower overall implementation costs, greater flexibility and increased capacity to exchange location content.
An article on using GMLSF in 'real-life' is available here http://www.directionsmag.com/article.php?article_id=1971&trv=1
Regards,
Jeff (Comment this)
animal stuffed webkinz
animal webkinz
animal code webkinz
webkinz dogs and more
free webkinz dog
free webkinz panda
webkinz
cheat code webkinz
cheat code pet webkinz
cheat code secret webkinz
cheat code webkinz world
cheat code money webkinz
webkinz world
cheat webkinz
code webkinz
webkinz welcome world
code secret webkinz
love puppy webkinz
child webkinz welcome world
recipe webkinz
webkinz world.com
cheeky dog webkinz
black lab webkinz
ganz webkinz world
ganz site web webkinz
ganz site web webkinz welcome
ganz webkinz welcome world
new webkinz
webkinz welcome
ganz webkinz
pet play webkinz world
code free secret webkinz
bear polar webkinz
game webkinz
code free webkinz
recipe secret super webkinz
toy webkinz
bunny sherbert webkinz
game pet play webkinz world
code secret webkins webkinz
web webkinz
cat cheeky webkinz
recipe secret webkinz
store webkinz
cat webkinz
code secret toy webkinz
panda webkinz
google webkinz
code pet plush secret webkinz
kinz lil webkinz
pug webkinz
googles webkinz
lil webkinz
monkey webkinz
ganz pet play webkinz world
clothes webkinz
search webkinz
leopard webkinz
valentine webkinz
picture webkinz
rabbit webkinz
cheat money webkinz
bullfrog webkinz
hippo webkinz
chihuahua webkinz
new recipe webkinz
pet webkinz
frog webkinz
koala webkinz
password webkinz
cheeky monkey webkinz
plush toy webkinz
dog webkinz
retired webkinz
cheap webkinz
bunny sherbet webkinz
horse webkinz
bulldog webkinz
com webkins webkinz
tiger webkinz
ca webkinz
gorilla webkinz
golden retriever webkinz
collection webkinz
cat persian webkinz
accessory webkinz
unicorn webkinz
cow webkinz
frog tree webkinz
webkins webkinz
free webkinz
locator store webkinz
cheeky webkinz
bull dog webkinz
find webkinz where
bear black webkinz
shop webkinz
penguin webkinz
webkinz yorkie
pig webkinz
cheat webkinz world
ganz site web webkinz world
recipe webkinz world
code secret webkinz world
recipe secret webkinz world
game webkinz world
play webkinz world
pet webkinz world
web webkinz world
cheat kinzcash webkinz
cheat tamagotchi webkinz
cheat ganz site web webkinz
cheat kincash webkinz
cheat secret webkinz
cheat game webkinz
cheat recipe webkinz
any cheat there webkinz
cheat tamagotchi toy webkinz
code unused webkinz
code com secret webkinz
code tag webkinz
buy code secret webkinz where
cheeky code dog secret webkinz
code webkinz xom
code pet secret webkinz
code free new pet webkinz
code pet webkinz
code friend webkinz
code secret tag webkinz
code love puppy secret webkinz
new pet recipe webkinz
food recipe webkinz
book recipe unofficial webkinz
banana dome recipe webkinz
recipe stove webkinz
holiday new recipe webkinz
ganz recipe webkinz
blender recipe webkinz
book recipe webkinz
cookie recipe tornado webkinz
recipe sandwich webkinz
rare recipe webkinz
webkinz welcome world.com
black lab new webkinz
game ganz site web webkinz world (Comment this)
black lab new webkinz
(Comment this)