[mapguide-users] reading and editing SDF data with java
cremebrulee
mazda327 at mailinator.com
Fri Apr 19 11:15:18 PDT 2013
Thank you Jackie.
I was able to use the MGOS 2.2 Java API to perform read/update on the
feature sources (sdf files).
(Also, if required, i can offer to become a contributor for the Java sample
code as i get better at this in the future)
If there's a noob out there trying to figure this out like i was..... the
following are some of the main classes in the API that I used for the
feature update: MgFeatureService, MGUpdateFeatures, MgResourceIdentifier
etc. I just used a regular pojo - since i was just testing, but then had to
do more configuration in the IDE as a result like setting the environment
variable : MENTOR_DICTIONARY_PATH to the (MG install)/share/gis/coordsys
directory and also setting the native library path to (MG
install)/webserverextensions/lib/ . I guess all these could have been
avoided if i used the provided tomcat config like @Jacki had posted earlier,
but then i would have have to then use JSPs which i am not completely
familiar with.
-----
-mapguidenoob
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/reading-and-editing-SDF-data-with-java-tp5044300p5048348.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list