← Back to team overview

dhis2-users team mailing list archive

Re: GIS shapefiles integration / info about names of feature members

 

Yes Knut,

They are the same. Attached screenshot of directory and QGIS attribute
table.

Is it because I'm running the FWTool ogr2ogr from the FWTool directory
whereas the shapefiles are in a different dir (see 3rd screenshot) ?

2014-09-26 19:24 GMT+03:00 Knut Staring <knutst@xxxxxxxxx>:

> Are you sure the name of the .shp and .dbf files are exactly the same?
>
> On Fri, Sep 26, 2014 at 10:35 AM, Kader Irchad Barry <kaderb777@xxxxxxxxx>
> wrote:
>
>> Hello,
>>
>> I am following the 'Setting up GIS' chapter in order to add our country
>> boundaries to DHIS2, but I am not getting in the converted GML files the
>> names of the feature members as described in the manual.
>>
>> These info being stored in the .dbf files of the shapefiles structure,
>> isn't there another step in order to merge them with the .shp files in
>> order to have them described into the .gml files when using the conversion
>> tool ?
>>
>> Below an excerpt of one gml file:
>>
>>  <gml:featureMember>
>>     <ogr:communes fid="0">
>>       <ogr:geometryProperty><gml:Polygon
>> srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>44.520928,-12.21365
>> 44.516667,-12.213444 44.515377,-12.217299 44.508177,-12.219482
>> 44.48914,-12.219355 44.483688,-12.215721 44.474738,-12.211509
>> 44.474765,-12.207788 44.486503,-12.198935 44.488153,-12.194262
>> 44.492306,-12.191121 44.492686,-12.188164 44.490472,-12.187333
>> 44.484528,-12.18125 44.47715,-12.175736 44.473761,-12.172392
>> 44.469769,-12.165611 44.466832,-12.161886 44.497145,-12.154971
>> 44.500402,-12.153843 44.503083,-12.159002 44.503082,-12.162418
>> 44.507053,-12.171983 44.511,-12.176615 44.513624,-12.178458
>> 44.515082,-12.184026 44.517226,-12.187109 44.519828,-12.192961
>> 44.517851,-12.194513 44.520828,-12.197976 44.520943,-12.201551
>> 44.519115,-12.204698 44.519313,-12.209046
>> 44.520928,-12.21365</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
>>     </ogr:communes>
>>   </gml:featureMember>
>>
>> which shows no property holding the name of the feature members.
>>
>> What could be missing ?
>>
>> Thanking you in advance.
>>
>> Best regards,
>> Kader
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> +4791880522
> Skype: knutstar
> http://dhis2.org
>

Attachment: screenshot_km_qgis.png
Description: PNG image

Attachment: screenshot_km_files.png
Description: PNG image

Attachment: screenshot_km_cmd.png
Description: PNG image


Follow ups

References