← Back to team overview

dhis2-users team mailing list archive

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

 

Hi Kader,

You can open the .dbf file in QGIS to view whether you have OrgUnit names
displayed in attributes file in first place.

Regards,

Pamod

On Fri, Sep 26, 2014 at 2:39 PM, Kader Irchad Barry <kaderb777@xxxxxxxxx>
wrote:

> Hi Jason,
>
> Yes, the .dbf files are in the same directory as the .shp and .shx ones. I
> even tried to open these .dbf files with a text editor and I can see all
> the information regarding the feature members inside.
>
> @Knut: I made a search on Google but couldn't find this app. Can you send
> us the link as asked by Adebusoye ?
>
> Best regards,
> Kader
>
> 2014-09-26 11:37 GMT+03:00 Jason Pickering <jason.p.pickering@xxxxxxxxx>:
>
>> Are you sure you have a DBF file attached to this shape file which
>> actually contains the names of the elements in the shape file? It needs to
>> be in the same directory as the .shp and .shx file.
>>
>> Regards,
>> Jason
>>
>>
>> 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
>>>
>>>
>>
>>
>> --
>> Jason P. Pickering
>> email: jason.p.pickering@xxxxxxxxx
>> tel:+46764147049
>>
>
>
> _______________________________________________
> 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
>
>


-- 
Pamod

Follow ups

References