Convert SHP to GML in Windows 7

Hi to all,

Please How can I Convert SHP File to GML in Windows 7?

Sincerely,

···

=========================
Guy

There are multiple ways to do this, the easiest of which is to install QGIS (www.qgis.org), open the shapefile and then save as gml. QGIS also allows you to easily transform projections, in case your shapefile is projected.

More info on handling boundary files in the documentation, though I’m not sure it’s all up to date.

bram

···

On 2 September 2014 17:26, Guy Ekani constyekani@yahoo.fr wrote:

Hi to all,

Please How can I Convert SHP File to GML in Windows 7?

Sincerely,

Guy

=========================


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Thank you sir,

I converted the file with Qgis 1.0.2, but I get an error when importing. Can you tell me what is the error in the file below?

Sincerely,

···

=========================
Guy

<?xml version="1.0" encoding="utf-8" ?>

<ogr:FeatureCollection
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance
xsi:schemaLocation=“http://ogr.maptools.org/ Country.xsd”
xmlns:ogr=“http://ogr.maptools.org/
xmlns:gml=“http://www.opengis.net/gml”>
gml:boundedBy
gml:Box
gml:coordgml:X8.498749000000032</gml:X>gml:Y1.652548000000138</gml:Y></gml:coord>
gml:coordgml:X16.19211500000012</gml:X>gml:Y13.07806000000005</gml:Y></gml:coord>
</gml:Box>
</gml:boundedBy>
gml:featureMember
ogr:Country
ogr:geometryPropertygml:MultiPolygongml:polygonMembergml:Polygongml:outerBoundaryIsgml:LinearRinggml:coordinates

9............................
8........................

</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml:polygonMember></gml:MultiPolygon></ogr:geometryProperty>
</ogr:Country>

</gml:featureMember>
</ogr:FeatureCollection>

Le Mardi 2 septembre 2014 17h34, Bram Piot bram.piot@gmail.com a écrit :

There are multiple ways to do this, the easiest of which is to install QGIS (www.qgis.org), open the shapefile and then save as gml. QGIS also allows you to easily transform projections, in case your shapefile is projected.

More info on handling boundary files in the documentation, though I’m not sure it’s all up to date.

bram

On 2 September 2014 17:26, Guy Ekani constyekani@yahoo.fr wrote:

Hi to all,

Please How can I Convert SHP File to GML in Windows 7?

Sincerely,

=========================
Guy


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Guy, I think you should convert using the latest version of QGIS (QGIS 8). you can donwload it from www.QGIS.org website.
Sincerelly.

Henri MOUNGUI

···

Le Jeudi 4 septembre 2014 0h29, Guy Ekani constyekani@yahoo.fr a écrit :

Thank you sir,

I converted the file with Qgis 1.0.2, but I get an error when importing. Can you tell me what is the error in the file below?

Sincerely,

=========================
Guy

<?xml version="1.0" encoding="utf-8" ?>

<ogr:FeatureCollection
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance
xsi:schemaLocation=“http://ogr.maptools.org/ Country.xsd”
xmlns:ogr=“http://ogr.maptools.org/
xmlns:gml=“http://www.opengis.net/gml”>
gml:boundedBy
gml:Box
gml:coordgml:X8.498749000000032</gml:X>gml:Y1.652548000000138</gml:Y></gml:coord>
gml:coordgml:X16.19211500000012</gml:X>gml:Y13.07806000000005</gml:Y></gml:coord>
</gml:Box>
</gml:boundedBy>
gml:featureMember
ogr:Country
ogr:geometryPropertygml:MultiPolygongml:polygonMembergml:Polygongml:outerBoundaryIsgml:LinearRinggml:coordinates

9............................
8........................

</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml:polygonMember></gml:MultiPolygon></ogr:geometryProperty>
</ogr:Country>

</gml:featureMember>
</ogr:FeatureCollection>

Le Mardi 2 septembre 2014 17h34, Bram Piot bram.piot@gmail.com a écrit :

There are multiple ways to do this, the easiest of which is to install QGIS (www.qgis.org), open the shapefile and then save as gml. QGIS also allows you to easily transform projections, in case your shapefile is projected.

More info on handling boundary files in the documentation, though I’m not sure it’s all up to date.

bram

On 2 September 2014 17:26, Guy Ekani constyekani@yahoo.fr wrote:

Hi to all,

Please How can I Convert SHP File to GML in Windows 7?

Sincerely,

=========================
Guy


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp

Thank’s i will try it !

···

=========================
Guy

Le Jeudi 4 septembre 2014 12h05, henri claude moungui henrimoungui@yahoo.fr a écrit :

Guy, I think you should convert using the latest version of QGIS (QGIS 8). you can donwload it from www.QGIS.org website.
Sincerelly.

Henri MOUNGUI

Le Jeudi 4 septembre 2014 0h29, Guy Ekani constyekani@yahoo.fr a écrit :

Thank you sir,

I converted the file with Qgis 1.0.2, but I get an error when importing. Can you tell me what is the error in the file below?

Sincerely,

=========================
Guy

<?xml version="1.0" encoding="utf-8" ?>

<ogr:FeatureCollection
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance
xsi:schemaLocation=“http://ogr.maptools.org/ Country.xsd”
xmlns:ogr=“http://ogr.maptools.org/
xmlns:gml=“http://www.opengis.net/gml”>
gml:boundedBy
gml:Box
gml:coordgml:X8.498749000000032</gml:X>gml:Y1.652548000000138</gml:Y></gml:coord>
gml:coordgml:X16.19211500000012</gml:X>gml:Y13.07806000000005</gml:Y></gml:coord>
</gml:Box>
</gml:boundedBy>
gml:featureMember
ogr:Country
ogr:geometryPropertygml:MultiPolygongml:polygonMembergml:Polygongml:outerBoundaryIsgml:LinearRinggml:coordinates

9............................
8........................

</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml:polygonMember></gml:MultiPolygon></ogr:geometryProperty>
</ogr:Country>

</gml:featureMember>
</ogr:FeatureCollection>

Le Mardi 2 septembre 2014 17h34, Bram Piot bram.piot@gmail.com a écrit :

There are multiple ways to do this, the easiest of which is to install QGIS (www.qgis.org), open the shapefile and then save as gml. QGIS also allows you to easily transform projections, in case your shapefile is projected.

More info on handling boundary files in the documentation, though I’m not sure it’s all up to date.

bram

On 2 September 2014 17:26, Guy Ekani constyekani@yahoo.fr wrote:

Hi to all,

Please How can I Convert SHP File to GML in Windows 7?

Sincerely,

=========================
Guy


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp