<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
MapGuide has many great geospatial operations, but if you<br>
are merely interrested in displaying a raster based map,<br>
perhaps you can do it, using only OpenLayers:<br>
<a class="moz-txt-link-freetext" href="http://openlayers.org">http://openlayers.org</a><br>
<br>
I know that there are some simple Geo servers that specialize in<br>
serving tiles from TIFF, rather than the full function package that
MapGuide has.<br>
<br>
I can't remember the name of the server they usually mention,<br>
but you can ask on the list, or search the archives.<br>
<br>
<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
oshan skrev:
<blockquote cite="mid:1257485552869-3957015.post@n2.nabble.com"
 type="cite">
  <pre wrap="">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
(<a class="moz-txt-link-freetext" href="http://home.gdal.org/dl/gdal14_vc8/">http://home.gdal.org/dl/gdal14_vc8/</a>) 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:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Rasters are notoriously difficult to get to work.

First of, you need to run the server from the console with the
CPL_DEBUG=on:
<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/fdo/wiki/FdoGdalNotes">http://trac.osgeo.org/fdo/wiki/FdoGdalNotes</a>
(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:
<a class="moz-txt-link-freetext" href="http://www.opengis.es/">http://www.opengis.es/</a>

Good luck!

Regards, Kenneth Skovhede, GEOGRAF A/S



oshan skrev:
    </pre>
    <blockquote type="cite">
      <pre wrap="">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:
  
      </pre>
      <blockquote type="cite">
        <pre wrap="">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.
<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/gdal/wiki/UserDocs/RasterProcTutorial">http://trac.osgeo.org/gdal/wiki/UserDocs/RasterProcTutorial</a>

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:
    
        </pre>
        <blockquote type="cite">
          <pre wrap="">There is a short (incomplete) guide here that explains the procedure 
from a users viewpoint:
<a class="moz-txt-link-freetext" href="http://trac.osgeo.org/mapguide/wiki/maestro/UserGuide">http://trac.osgeo.org/mapguide/wiki/maestro/UserGuide</a>

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:
      
          </pre>
          <blockquote type="cite">
            <pre wrap="">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
  
        
            </pre>
          </blockquote>
          <pre wrap="">_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>


      
          </pre>
        </blockquote>
        <pre wrap="">    
        </pre>
      </blockquote>
      <pre wrap="">  
      </pre>
    </blockquote>
    <pre wrap="">_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>


    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
</body>
</html>