← Back to team overview

dhis2-devs team mailing list archive

Possible issue with GML import

 

Hi there.

I am using the GML importer to import coordinates.

Here is a snippet of the GML I am importing

 <gml:featureMember>
    <ogr:OpenDemolandHealthFacilities fid="OpenDemolandHealthFacilities.4">
      <ogr:geometryProperty><gml:Point
srsName="EPSG:4326"><gml:coordinates>-45.046450667490049,30.904516454945856</gml:coordinates></gml:Point></ogr:geometryProperty>
      <ogr:Name>Crow Site</ogr:Name>
      <ogr:NAME_1>Bird</ogr:NAME_1>
      <ogr:Region>Animal</ogr:Region>
      <ogr:Country>Demoland</ogr:Country>
    </ogr:OpenDemolandHealthFacilities>
  </gml:featureMember>

This seems to import fine, but on the database side, I see this

 Crow Site               | [[-45.0465,30.9045]]

Note, the double square brackets. The GIS says there are no valid
coordinates.

When I replace these double brackets with single ones

Crow Site               | [-45.0465,30.9045]

Things work OK. This is a 2.19 snapshot version, unsure of the revision.

Is this an issue possibly with rev 18488?

Regards,
Jason


-- 
Jason P. Pickering
email: jason.p.pickering@xxxxxxxxx
tel:+46764147049

Follow ups