You don't edit SDF data directly, Mapguide uses FDO which is an abstraction layer for accessing spatial data using a common api...
think of it like ODBC/JDBC for spatial database access. So once you have created a feature source containing your SDF file, you then use the resource API methods to manipulate the data. The API docs has lots of code samples, some in Java, but a lot in PHP On Thu, Apr 4, 2013 at 12:43 AM, cremebrulee <[email protected]>wrote: > I am relatively new to MapGuide open source technology. I would like to > parse > and modify feature source data that is in SDF format so that my map > displays > this updated feature data (dynamically). How can i do so? I have MapGuide > installed and configured on Linux. I went through the MapGuide Web API > documentation but there were no examples on how to manipulate SDF data. > Currently i am generating the SDF data in a Windows OS environment by using > FME scripts to query a spatial database and the query generates SHP files. > I > then transform those SHP files into SDF files using FME scripts again > before > transferring them to the mapguide server repository in the Linux OS > environment. On the Windows OS end, I am able to edit the SHP files (in > particular the dbf file just using a spread sheet) to change the values for > the particular feature source. However this process is static and so i was > hoping to be able to do so programmatically (using java / jsp) by parsing > the SDF files for the particular feature source in the Linux domain. > Thanks > > > > ----- > -mapguidenoob > -- > View this message in context: > http://osgeo-org.1560.n6.nabble.com/reading-and-editing-SDF-data-with-java-tp5044300.html > Sent from the MapGuide Users mailing list archive at Nabble.com. > _______________________________________________ > mapguide-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -- Zac Spitzer Solution Architect / Director Ennoble Consultancy Australia +61 405 847 168
_______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
