GML export

Aug 19, 2013 at 3:10 PM
Edited Aug 19, 2013 at 3:13 PM
I am developing a .NET project [C#] that needs to export/write features as GML and GeoJson, including, of course, the attributes; data could queried by a database or manually entered.
So the question is it possible to export the entire feature dataset using DotSpatial?
Is there anybody who can help me or suggest the right place to start from?
thank you in advance.
defelix
Aug 19, 2013 at 11:38 PM
You can create you shape file and attribute data with DotSpatial and after this convert to GML with this tool:

https://dl.dropboxusercontent.com/u/39631349/shp2gml.exe
Aug 20, 2013 at 8:00 AM
Thanks a lot for your quick reply.
What you suggested is an executable, but actually I would need to manage the code with open source tools, so I'm still looking for.
thank you in any case.
cheers
Aug 20, 2013 at 5:31 PM
Here a link to a GML open source tool from MapWindow, maybe you can ajust it for Dot Spatial

http://www.mapwindow.org/apps/wiki/doku.php?id=open_gml_files

And this is the source from a MapWindow Plugin

https://dl.dropboxusercontent.com/u/39631349/GML_plugin.zip

may be this helps you
Aug 21, 2013 at 7:51 AM
Thanks a lot for your help, Ambiente.
I had a look to those links and actually they are for reading a GML, but in any case they will be a help for trying to develop myself a good solution for converting to GML a dataset.
thank you very much again.
cheers.