[mapguide-users] uploading resources
Zak James
zak4ms at gmail.com
Fri Oct 27 09:13:09 EDT 2006
Jose,
The only way I know to do that is to use the api to read the features
out of the shp, create a new sdf file with a duplicate set of
properties and write the features back into the new sdf. Assuming
there is a FeatureSource, you will need to create a copy that points
at the sdf.
The shp->sdf magic of a LoadProcedure is handled by the client side
Autodesk Mapguide studio application. That's why webstudio doesn't
support LoadProcedure resources.
zak
On 10/27/06, Jose Manuel C G <gis at mapas-sll.com> wrote:
>
> Yeah, it's right to upload data resources, but I don't know how to transform
> my shp to sdf with this method.
>
>
> Jose,
>
> I notice that you are trying to do SETRESOURCE on a LoadProcedure. I
> don't think that's what you want if you're trying to push data to the
> server. The basic steps are
>
> 1) do SETRESOURCE with suitable xml to create a FeatureSource
>
> 2) submit a form to the mapagent.fcgi with method post and with
> OPERATION set to SETRESOURCEDATA. You can use the form in the mapagent
> /mapguide/mapagent/setresourcedataform.html file as a guide.
>
> zak
>
> --
> View this message in context: http://www.nabble.com/uploading-resources-tf2514722.html#a7025557
> Sent from the OSGeo MapGuide mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> For additional commands, e-mail: users-help at mapguide.osgeo.org
>
>
--
Zak James
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca
More information about the Mapguide-users
mailing list