[mapguide-users] Mapguide Library Folders

Luis Paolini l_paolini at uol.com.br
Fri Jul 17 09:51:11 EDT 2009


Kenneth,

 

                Thanks for the information.

                Using GETRESOURCEDATA I can get the dwf files and do what I
need.

 

Best,

 

Luis

 

From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Kenneth
Skovhede, GEOGRAF A/S
Sent: Friday, July 17, 2009 9:32 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Mapguide Library Folders

 

The name of the folder is random, and generated by MapGuide.
AFAIK, there is no way to retrieve the path.

Instead, you can call GetResourceData and retrieve the file:
http://localhost/mapguide/mapagent/index.html

Click "GetResourceData" to the lower left, fill out the ResourceId and
DataName and click Submit.

You can mimic the POST generated by the html form to do the same from a
program.
That is what the MaestroAPI does, when using the http connection, so you can
also use that to retrieve the file.




Regards, Kenneth Skovhede, GEOGRAF A/S



Luis Paolini skrev: 

Dave,

 

                I need the dwf files because the client wants to load them
into oracle database in order to allow users to download them via an
application.

 

                I understand that they are published to a folder in the
Mapguide Site Explorer, but this folder name is logical and is not created
in the Mapguide Server.

 

                My problem is that I need to publish 600 DWG files and when
I do that, all the DWF files are created with the same name (Map Base.dwf).

 

                As we have many people working in this process, the
alternative to find the files manually sorting by date will not work.

                If I could define the name of the dwf file during
publishing, instead of the default Map Base.dwf, will solve the problem.

                The other option was to figure out the relation between the
logical name created in Site explorer and the physical name created in the
\Library\Datafiles.

 

Luis

 

From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Dave Wilson
Sent: Thursday, July 16, 2009 5:34 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Mapguide Library Folders

 

What do you want to do with the files?

 

During the publish you specified a folder to publish to in the MapGuide Site
Explorer. All the files are created in a Data subdirectory under the folder
name you specified.

 

You can use MGE API's to EnumerateResource, EnumerateResourceData and
GetResourceData and get the files from the Repository.

 

Otherwise if you were simply looking to find the files manually after a
single publish you can view the Repositories\Library\DataFiles\ in Windows
Explorer and sort by date and see the files that were created. You could
search on .dwf and find the files.

 

Dave

 

From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Luis Paolini
Sent: Thursday, July 16, 2009 1:48 PM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Mapguide Library Folders

 

Hi All,

 

                I'm working with Autodesk Map 3D to publish some DWG files
to Mapguide in DWF format.  The process is:

File -> More Plotting Options -> Publish to Mapguide

Connect to Mapguide

Create a Folder

Publish

 

After that, looking into Mapguide Server Folders, I understand that my DWF
file was stored somewhere inside /Library folder.

The problem is that the folders are named by Mapguide using some pattern
(Ex: dfaaf08a-ffff-ffff-8000-00c09f3e1b02).

My question is: How can I discover in which folder the dwf published is
stored?

 

Regards,

 

Luis

 



__________ Information from ESET Smart Security, version of virus signature
database 4251 (20090716) __________

The message was checked by ESET Smart Security.

http://www.eset.com



__________ Information from ESET Smart Security, version of virus signature
database 4251 (20090716) __________

The message was checked by ESET Smart Security.

http://www.eset.com



__________ Information from ESET Smart Security, version of virus signature
database 4253 (20090717) __________

The message was checked by ESET Smart Security.

http://www.eset.com



 



  _____  



 
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
  



__________ Information from ESET Smart Security, version of virus signature
database 4253 (20090717) __________

The message was checked by ESET Smart Security.

http://www.eset.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090717/2aac2d58/attachment.html


More information about the mapguide-users mailing list