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