[mapguide-users] Save Map Image on Server
Hi all, what I need is: the User can click a link and then the actual view of the Map (as like in Fusion Save Map Widget) is stored on the Server , not on the Client. In the next process I must pack this Image in an PDf with Database Informations, so I must know the filename of the Image. any ideas how to save the image ? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Save-Map-Image-on-Server-tp5167948.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Save Map Image on Server
Any image you get from the MapGuide Rendering APIs is an MgByteReader. You can dump this image to a file with MgByteSink using the file name of your choice. From there you know what the file name is to do whatever you have to do. - Jackie -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Save-Map-Image-on-Server-tp5167948p5167968.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] MapGuide Open Source 3.0 test build for 64-bit Linux
I'm using a modified Dockerfile to pull the 64 bit builds and install the 64 bit dependencies and run mapguide 3.0.0 on the 64 bit host. Happy to share this if anyone else wants to try. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/MapGuide-Open-Source-3-0-test-build-for-64-bit-Linux-tp5167443p5167971.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Centos Mapguide 2.6 Oracle provider missing
I thought this old bug is fixed. So King Oracle provider not working with any distribution of linux? How to use OGR Provider to connect to Oracle base. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Centos-Mapguide-2-6-Oracle-provider-missing-tp5167230p5168004.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] php - edit map in repository, save modifications back
Hi, I'm getting a bit confused reading through the DevGuide (chapter 5) and code examples in the email archive. Maybe someone can just point me in the right direction. I would like to open an existing map, modify it (add an existing layer) and save it back into the repository. There is no layout, website or user activity involved. The map won't be displayed at all. Instead of adding layers through Studio/Maestro I need to automate the process (as I'm not familiar with Python but have some experience with PHP I prefer MapGuide API instead of using Maestro/Python). What I haven't figured out yet is - do I need to work with sessions? Or can I somehow open an existing map or layer directly? I would like to use MapGuide Api to insert layers into a map as it seems easier than dealing with XML. Many thanks, Rob - http://raumpatrouille3d.blogspot.ch/ -- View this message in context: http://osgeo-org.1560.x6.nabble.com/php-edit-map-in-repository-save-modifications-back-tp5168012.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Centos Mapguide 2.6 Oracle provider missing
Hi Kajar, I thought this old bug is fixed. So King Oracle provider not working with any distribution of linux? How to use OGR Provider to connect to Oracle base. Is it indeed possible to use OGR Provider to connect to Oracle Base, but as said by Riccardo Pucci, you need to recompile gdal/ogr library with oracle support. FDO libOGR provider links against libgdal found in FDO-x.x.x/lib. So you can recompile it using the same maior version and enabling oracle support. Regards, Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] php - edit map in repository, save modifications back
Hi Rob, I'm not a great developper, but i understood with few bad experiences that with MapGuide API you can only save new resource in Session Repository not in the Library of your hard disk. You just have 3 ways : - use Maestro/Studio to add manually the layer in yours maps - Do a runtime map by php or asp .net and add the layer dynamically in your maps each time a user uses the map - Use Python in Maestro to add the layer in many maps in one time Good luck Rémy ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Centos Mapguide 2.6 Oracle provider missing
I'm pretty sure is Linux-wide. It depends on sizeof wchar_t which is compiler specific: on Windows (visual c++) is 2 byte while on Linux (gcc) 4 byte. When Haris switched from UTF-8 to UTF-16 charset to perform oracle connection, used wchar_t to pass/retrieve string to oracle. In windows it's ok because UTF-16 and wchar_t have the same size, in Linux a shrink/deflate should be performed each time there's need to copy data from/to wchar_t array to/from the UTF-16 array, as some OCI wrapper does. (OCILIB for example). I tried in the past to modify the provider in a such way, but I never been able to have a fully functional provider, and finally I gave up. Il 17/10/2014 02:18, Jackie Ng ha scritto: Is this a Linux-wide issue or specific to one particular distro? - Jackie -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Centos-Mapguide-2-6-Oracle-provider-missing-tp5167230p5167915.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users