Hi Kenneth I managed to get a student version of ArcGIS. I created a tiff and a world file after using some PNG map images. I placed the two generated files into a single folder and imported it using maestro. After defining the layers and map and setting up the extent I was able to preview it on mapguide.
I looked in the FdoGdalNotes for the plugin (http://home.gdal.org/dl/gdal14_vc8/) but the links doesn't work. In any case I'm able to view the images so maybe all the plugins are in place in my installation! I wanted to add a layer on top of this map (by the way this a map of Queensland, Australia). This new layer is going to be some rural region within the state. I cut out this region from the original map (base map) and created a separate image with just that rural area surrounded with transparent background so that if I superimpose them it will appear at the right location on the base map. I created a new layer for this image using the same procedure I describe before. Only problem is the tiff format didn't recognise transparency and made the background white. So when I place the small region above the state only thing I can see is that! So now I'm wondering...: if my application is not going to handle any geospatial vector data, am I making it harder for my self by using MG os?? I mean I would be able to use normal HTML,css,js, and jsp to do this. I could use the z index in css to put bunch of images together and use js to turn them on and off. But of course I will have to do the zooming, paning, context menus, toolbars etc from scratch so I don't know if I will hit the brick wall somewhere down the track! Kenneth Skovhede, GEOGRAF A/S wrote: > > Rasters are notoriously difficult to get to work. > > First of, you need to run the server from the console with the > CPL_DEBUG=on: > http://trac.osgeo.org/fdo/wiki/FdoGdalNotes > (See at the bottom of the page). > > And you have to create the gdalplugin folder yourself, so you get the > file layout > as described on FdoGdalNotes page. > > Your MapDefinition coordinate system and raster coordinate system MUST > match 100%. > > Also look in the error log file: > C:\Program Files\MapGuideOpenSource2.0\Server\Logs\Error.log > > For a free vector editor, try Kosmo GIS: > http://www.opengis.es/ > > Good luck! > > Regards, Kenneth Skovhede, GEOGRAF A/S > > > > oshan skrev: >> By the way I'm using mapguide os 2.0 with jsp extension. does this come >> with >> the GDAL plugin to handle all the raster data? I checked in my bin folder >> and there is no gdalplugins folder! But inside FDO I have a file called >> gdal14.dll. If this is not enough where do I get this full plugin from >> and >> which version. The version of the gdal14.dll is 1.4.3.0 >> >> cheers >> >> >> >> oshan wrote: >> >>> Hi Kenneth >>> >>> Thanks for you reply. I'm basically trying to get a map displayed in the >>> ajax viewer and the map I'm planning to use is a raster image. >>> >>> I tried doing it using map guide maestro but I couldn't get the image >>> displayed. I tnk its something to do with the coordinate system may be >>> its >>> way off the screen. >>> >>> I was looking at GDAL and found this link. It kind shows how to add >>> coordinate to raster image. I'll try that and see if it works. >>> http://trac.osgeo.org/gdal/wiki/UserDocs/RasterProcTutorial >>> >>> By the way do you mean data files like .shp? what is a good free client >>> I >>> used to create such data? >>> >>> Thanks >>> >>> >>> >>> Kenneth Skovhede, GEOGRAF A/S wrote: >>> >>>> There is a short (incomplete) guide here that explains the procedure >>>> from a users viewpoint: >>>> http://trac.osgeo.org/mapguide/wiki/maestro/UserGuide >>>> >>>> If you have MapGuide Enterprise, you can get Studio for free, which has >>>> a manual in the "Help" menu. >>>> >>>> If you need to create data as well, you need a GIS client application, >>>> such as Autocad Map, ArcGIS or MapInfo. >>>> (There are free clients avalible as well) >>>> >>>> Your question is a bit vague, so if this is an answer to another >>>> question, can you explain your current setup? >>>> >>>> Regards, Kenneth Skovhede, GEOGRAF A/S >>>> >>>> >>>> >>>> oshan skrev: >>>> >>>>> Hi >>>>> >>>>> I want to know how to create layers? >>>>> >>>>> Say that you have a map and you want to create layers for political >>>>> divisions. How would you go about doing this? >>>>> >>>>> I ask this before but I didn't get any answer. My apologies if its a >>>>> stupic >>>>> question! Since I don't really have any good vectored based maps, is >>>>> it >>>>> possible to use a jpeg as a base image? How do I achieve this? >>>>> >>>>> I appreciate any help >>>>> Thanks >>>>> >>>>> >>>> _______________________________________________ >>>> mapguide-users mailing list >>>> [email protected] >>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users >>>> >>>> >>>> >>> >> >> > > _______________________________________________ > mapguide-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://n2.nabble.com/Creating-and-adding-layers-tp3941863p3957015.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
