[mapguide-users] Creating

George McLean gmclean at gorge.net
Mon May 14 18:13:07 EDT 2007


Thanks for the reply Andy. It looks like I could really do some damage 
with MapAgent, should be fun :-)

If another voice lobbying Autodesk would help, I would be glad to put in 
my vote for these changes. Are you submitting these requests through ADN?

Thanks

George

Andy Morsell wrote:
> I've been going back and forth with Autodesk on this issue as well.  It
> happens if any attribute that is utilized anywhere within your current layer
> is not present in the new feature source.  This includes your filter where
> clause, the URL, tooltip, themes, labels, and so on.  I believe that
> Autodesk is going to try to make Studio more forgiving in these cases so
> that "power" users can make these kinds of changes without the layer being
> completely reset. 
>
> You could edit the resource XML directly using the MapAgent
> (http://localhost/mapguide/mapagent/index.html) or programmatically and
> bypass Studio.  This would involve saving the layer XML, modifying it, and
> then saving it back into the repository using the SetResource mapagent
> operation.
>
>
> Andy Morsell, P.E.
> Spatial Integrators, Inc.
> http://www.SpatialGIS.com
>
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of George McLean
> Sent: Monday, May 14, 2007 2:22 PM
> To: MapGuide Users Mail List
> Subject: [mapguide-users] Creating
>
>
> I have a map created in Autodesk's Mapguide Studio with feature data coming
> from a MySQL database. I would like to use this may layout with the
> associated feature styles and scale ranges with data from a different MySQL
> database containing data from another region but stored in a similar schema.
>
> I thought I could copy the layers, data connections etc from the original
> and just change the data connection to the MySQL database. I can create a
> connection to the new MySQL database but when I try and change the source
> for the layers, I get a message that states I am changing to an incompatible
> date resource and layer settings will reset to the defaults. This of course
> means I lose all the feature stylings.
>
> Is there a better way to reuse a given map layout and the associated layer
> stylings with new data?
>
> Is there another way to edit the data created by Mapguide Studio that might
> allow me to accomplish this?
>
> Is the data created by studio stored as XML or some other format?
>
> Any suggestions would be greatly appreciated!
>
> George McLean
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>   



More information about the mapguide-users mailing list