Convert SHP to GML
Turn SHP files into GML. A GML 3.2 document with one feature type holding the features and their attributes, in the source's coordinate system and without a separate schema file.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop SHP files on the dialor turn it to pick what to do
A GML file with your features and attributes.One GML 3.2 document, in the same coordinate system as the shapefile.
What you get
A GML 3.2 document with one feature type that holds all the features and their attributes. The coordinates stay in the source's coordinate system.
No separate schema file is written, so the output is one file.
What changes
When some features have heights and others do not, the ones without get a height of 0. Lists and nested values in the attributes become JSON text.
A shapefile with several layers is joined into one feature type. A layer column names the layer each feature came from.
Going back
To turn GML into a shapefile again, use GML to SHP. For other conversions of this format, see every GML conversion.
SHP and GML.What each format is.
The formats
Shapefile
Esri shapefiles zipped with their .shx, .dbf and .cpg parts, the vector format GIS programs exchange.
- Extensions
- .shp.zip .shz .shp
- MIME type
- application
/x -shapefile +zip - Kind
- Text and data
GML
Geography Markup Language, the OGC's XML for map features, as WFS services send it.
- Extensions
- .gml
- MIME type
- application
/gml +xml - Kind
- Text and data
In your code.The same SHP to GML conversion through the API, for your app or your agent.
$ cv convert report.shp.zip report.gml$ cv convert report.shp.zip report.gmlQuestions.What people ask about SHP to GML.
Yes. The coordinates stay in the coordinate system of the source.
No. The output is one GML file without a separate schema file.
When some features have heights and others do not, the ones without get a height of 0.
The layers are joined into one feature type. A layer column names where each feature came from.