Re: [mapguide-users] Creating and adding layers

2009-11-09 Thread Kenneth Skovhede, GEOGRAF A/S
MapGuide has many great geospatial operations, but if you are merely interrested in displaying a raster based map, perhaps you can do it, using only OpenLayers: http://openlayers.org I know that there are some simple Geo servers that specialize in serving tiles from TIFF, rather than the full fun

Re: [mapguide-users] Creating and adding layers

2009-11-05 Thread oshan
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

Re: [mapguide-users] Creating and adding layers

2009-11-05 Thread Zac Spitzer
don't even bother with GDAL unless your using a 2.1 build, it's really broken 2.1 also does raster reprojection and is more stable z On Thu, Nov 5, 2009 at 7:07 PM, Kenneth Skovhede, GEOGRAF A/S wrote: > Rasters are notoriously difficult to get to work. > > First of, you need to run the server

Re: [mapguide-users] Creating and adding layers

2009-11-04 Thread Dejan Gregor
Thanks a lot, Kenneth! Wow, didn't know it can be implemented so easy. Dejan On Wed, Nov 4, 2009 at 09:16, Kenneth Skovhede, GEOGRAF A/S wrote: > Yes, it is possible. > > You need a "runtime map" instance. > > Short C# example: > > MgResourceService srvc; > MgMap map = new MgMap(); > map.Open(s

Re: [mapguide-users] Creating and adding layers

2009-11-04 Thread Kenneth Skovhede, GEOGRAF A/S
Yes, it is possible. You need a "runtime map" instance. Short C# example: MgResourceService srvc; MgMap map = new MgMap(); map.Open(srvc, "mapname"); MgLayer layer = new MgLayer(); ... set layer properties, such as .LayerDefinition path ... map.Layers.Add(layer); map.Save(srvc, "mapname"); Reg

Re: [mapguide-users] Creating and adding layers

2009-11-04 Thread Dejan Gregor
Hi, I would like to add a question -- is it possible to programmatically add new layers into the 'map' triggering a command from the MapGuide web client? It is an actual configuration change of the 'map' that is not done in Mapguide Mestro. Dejan On Wed, Nov 4, 2009 at 08:39, Kenneth Skovhede,

Re: [mapguide-users] Creating and adding layers

2009-11-03 Thread Kenneth Skovhede, GEOGRAF A/S
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

[mapguide-users] Creating and adding layers

2009-11-03 Thread oshan
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