Hi,

Now when OJ is getting better support for projections I think that the native 
JML-XML should have a place for layer SRID as well.
I noticed that GDAL is actually writing it into JML when it is asked to write 
data into some srs:

</JCSGMLInputTemplate>
<featureCollection>
     <feature>
          <geometry>
                <gml:Point 
srsName="EPSG:3067"><gml:coordinates>280,460</gml:coordinates></gml:Point>
          </geometry>
          <property name="R_G_B"></property>
     </feature>
</featureCollection>

Neither GDAL not OpenJUMP does understand the SRID, though. I think that the 
GDAL way to write srsName to each feature makes one to think that it could be 
different for the features. However, it is more like a per layer attribute. 
Perhaps srsName could be added somewhere into the input template?

<JCSGMLInputTemplate>
<CollectionElement>featureCollection</CollectionElement>
<FeatureElement>feature</FeatureElement>
<GeometryElement>geometry</GeometryElement>
<ColumnDefinitions>
     <column>
          <name>R_G_B</name>
          <type>STRING</type>
          <valueElement elementName="property" attributeName="name" 
attributeValue="R_G_B"/>
          <valueLocation position="body"/>
     </column>
</ColumnDefinitions>
</JCSGMLInputTemplate>

-Jukka Rahkonen-
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to