Re: [mapguide-users] How do i load raster in MGOS 2?

2008-08-12 Thread jamesdudden
HI, I have 2 tifs - one that Mapguide can't see (when you click on the datasource to preview the feature it says Total Entries: 0) and the other it can (i click on the datasource and then view data, the class says Total Entries: 1 and shows the path to the tif) Here is a print out of the tifs -

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-08-05 Thread jamesdudden
Hi Frank, I did as you said but don't seem to be getting much info - see below C:\Program Files\FWTools2.2.1gdalinfo C:\Program Files\FWTools2.2.1\Sheyboygan.tif no.txt Usage: gdalinfo [--help-general] [-mm] [-stats] [-nogcp] [-nomd] [-noct] [-checksum] [-mdd domain]*

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-08-05 Thread jamesdudden
ok, one more question for now then i will take all this information and discuss it with the person who creates the tifs. What are .ric and .tfw files for - i thought they contained the coordinate details - and can MGOS link to them? Regards James Dudden zspitzer wrote: the first one is

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-08-05 Thread wkhattak
Hi, .ric is the index file for MpGuide 6.5. You get an equivalent xml index file created by gdal (gdal notes web page) when you add your tiffs. the .tfw files contain the extens for the tif files but if your tiffs are geotiffs then these would already contain this extent info within its header.

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-08-05 Thread Zac Spitzer
the first one is missing the co-ordinates.. you need to set that value, rasters are fussier On Tue, Aug 5, 2008 at 7:07 PM, jamesdudden [EMAIL PROTECTED] wrote: Thank you for your on-going help - i now have the print outs from a working tif file and one that doesn't show up: NOT WORKING:

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-08-05 Thread jamesdudden
Thank you for your on-going help - i now have the print outs from a working tif file and one that doesn't show up: NOT WORKING: Driver: GTiff/GeoTIFF Files: C:\Program Files\FWTools2.2.1\Savills.tif Size is 7874, 7874 Coordinate System is `' Image Structure Metadata: INTERLEAVE=BAND Corner

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-08-05 Thread Zac Spitzer
try putting quotes around the silly windows path ;) On Tue, Aug 5, 2008 at 6:39 PM, jamesdudden [EMAIL PROTECTED] wrote: Hi Frank, I did as you said but don't seem to be getting much info - see below C:\Program Files\FWTools2.2.1gdalinfo C:\Program Files\FWTools2.2.1\Sheyboygan.tif no.txt

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-08-05 Thread Frank Warmerdam
jamesdudden wrote: ok, one more question for now then i will take all this information and discuss it with the person who creates the tifs. What are .ric and .tfw files for - i thought they contained the coordinate details - and can MGOS link to them? Regards James Dudden zspitzer wrote:

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-08-05 Thread jamesdudden
Frank - thank you again for all your continued support You are right i had moved the file but not the .tfw - i moved it back and then did a new print out and there is more data (as you can see below) so i investigated and it seems the tif file is corrupt or something as i can't open it in

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-08-05 Thread Frank Warmerdam
jamesdudden wrote: Frank - thank you again for all your continued support You are right i had moved the file but not the .tfw - i moved it back and then did a new print out and there is more data (as you can see below) so i investigated and it seems the tif file is corrupt or something as i

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-08-05 Thread Frank Warmerdam
jamesdudden wrote: Frank, I would very much like to find out more about turning a TIFF into a geoTIFF - simply because so far a geoTIFF is all i have working. James, Unfortunately, I don't know the correct coordinate system for your image, so I just give one example. If you wanted to

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-08-05 Thread Frank Warmerdam
Jason Birch wrote: Frank, does GDAL support an external .prj file for rasters? I found an email from 2003 where you mentioned that you were in no immediate danger of implementing such a .prj file fallback feature for all the coordinate-system-less drivers :) Jason, That position remains

RE: [mapguide-users] How do i load raster in MGOS 2?

2008-08-05 Thread Jason Birch
Hi Frank, It *seems* to me that MapGuide (or Studio or Maestro) should be providing more feedback to the user on why things aren't or won't work. There are two cases where images don't show up in MapGuide. In the first case, where the projection of the images doesn't match the projection

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-08-04 Thread jamesdudden
Hi, I've had a few days playing with various settings and things and am still having no joy... it's really starting to depress me. Does anybody have some working examples that i could test (tif would be great) and the method used to get them working. I am using Windows XP (with server and

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-08-04 Thread Zac Spitzer
I have got these working before http://www.unearthedoutdoors.net/global_data/true_marble/download z On Tue, Aug 5, 2008 at 12:20 AM, jamesdudden [EMAIL PROTECTED] wrote: Hi, I've had a few days playing with various settings and things and am still having no joy... it's really starting to

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-08-04 Thread jamesdudden
Wow, wow and wow - thank you. I have just seen my first raster image working - it was a real moment for me. Thanks for the link. What i want to know now is why these work and others don't. Some tif files don't even show up when i click preview/view data on the feature data. Can anybody explain

RE: [mapguide-users] How do i load raster in MGOS 2?

2008-08-04 Thread jamesdudden
Martin, Could i send you the file that doesn't show up? Regards James Martin Morrison wrote: Without looking the at actual images you are loading it hard to state the exact reason. Some possible reasons are the type of tiff (compressed or un-compressed), which type of compression, color

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-08-04 Thread jamesdudden
Hi Frank, Is there an instruction guide or could you help me out. I downloaded the tools and installed. Click the cmd line and get this: C:\Program Files\FWTools2.2.1 Now what? Regards James Dudden -- View this message in context:

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-08-04 Thread Frank Warmerdam
jamesdudden wrote: Hi Frank, Is there an instruction guide or could you help me out. I downloaded the tools and installed. Click the cmd line and get this: C:\Program Files\FWTools2.2.1 James, gdalinfo C:\your\data\abc.tif Use normal shell redirection to put the result in a text file for

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-07-30 Thread wkhattak
Download Maestro, it will automatically create the config file for you as it is very easy to use. -- View this message in context: http://www.nabble.com/How-do-i-load-raster-in-MGOS-2--tp18648843p18727683.html Sent from the MapGuide Users mailing list archive at Nabble.com.

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-07-29 Thread jamesdudden
Hi, Thank you for your reply. Firstly the 'Download this configuration file' option is greyed out? And second (excuse my stupidity) what does extents mean? Regards James Dudden wkhattak wrote: Hi, Yeah it's normal to have the 'Geometry' option greyed out. Could you send me the config

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-07-29 Thread wkhattak
hi, Did you create your data resource using the script (GDAL notes webpage) or did you create it manually? If you created it manually then yeah the Download option would be greyed out, in that case create it using the script (php page that you need to download and put it in your www folder). The

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-07-29 Thread jamesdudden
Hi, I did create it manually so i followed your advise tried using the script from the GDAL notes webpage and it keeps giving me an HTTP 500 Internal Server Error. DO you know if this works with MGOS2? Regards wkhattak wrote: hi, Did you create your data resource using the script

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-07-29 Thread wkhattak
hi, Check within IIS if you can access this page. the location should be http://localhost/mapguide/rasterconfig.php; , there might be some permission issues. regards, W Khattak -- View this message in context: http://www.nabble.com/How-do-i-load-raster-in-MGOS-2--tp18648843p18713172.html

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-07-29 Thread jamesdudden
Hi, Thank you for your continued help. I can see the file from within IIS and if i choose browse it opens internet explorer with same HTTP 500 error. There are no obvious permsissions to change on the file - can you suggest anything else? Regards James Dudden wkhattak wrote: hi,

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-07-29 Thread jamesdudden
I am using .net environment by the way - should this make a difference? Regards -- View this message in context: http://www.nabble.com/How-do-i-load-raster-in-MGOS-2--tp18648843p18713631.html Sent from the MapGuide Users mailing list archive at Nabble.com.

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-07-29 Thread wkhattak
same here...were u able to aacess the page within IIS? -- View this message in context: http://www.nabble.com/How-do-i-load-raster-in-MGOS-2--tp18648843p18714139.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users

[mapguide-users] How do i load raster in MGOS 2?

2008-07-25 Thread jamesdudden
Hi all, I have installed the files from http://trac.osgeo.org/fdo/wiki/FdoGdalNotes and followed the below instructions: 1.Start Studio and connect to your MapGuide Open Source server. 2.Then do File New Data Connection... 3.In the Connect To Data dialog that comes up, select OSGeo FDO

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-07-25 Thread wkhattak
Hi, Within the dataconnection , set up the correct coordinate system by overriding the default coordinate system. Have you tried creating a layer and previewing the rasters? Currently it works for me with a few tiff files but I am having no success in loading a large number of tiff files.

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-07-25 Thread jamesdudden
Thank you for your reply, I have followed your instructions - set up the correct coordinate system by overriding the default coordinate system and created a new layer and added this to my map. This all seemed fine however i am unable to see the images when i preview a map. Any ideas? Regards

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-07-25 Thread Kenneth Skovhede, GEOGRAF A/S
In that case, you should follow the instructions for debugging rasters: http://trac.osgeo.org/fdo/wiki/FdoGdalNotes#DebuggingRastersinMapGuide Regards, Kenneth Skovhede, GEOGRAF A/S jamesdudden skrev: Thank you for your reply, I have followed your instructions - set up the correct

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-07-25 Thread jamesdudden
Kenneth, I di das you instructed and this is what i got: (460) Server starting... (460) PROJ4 Coordinate System Library (460) Server started. GDAL: Auto register C:\Program Files\MapGuideOpenSource2.0\Server\Bin\gdalplugin s\gdal_ECW.dll using GDALRegister_ECW. GDAL: Auto register C:\Program

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-07-25 Thread Kenneth Skovhede, GEOGRAF A/S
That seems to work out correctly. You should try to add a vector layer with data that displays correctly, in the same area. Then make a new map, and add both the raster layer as well as the vector layer. Make sure that the raster layer featuresource projection is the same as the map's.

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-07-25 Thread jamesdudden
I checked the log file before trying your suggestion and it looks like there's something wrong with the coordinates - i am using the sample data that came with studio9 and the coordinates that it gave me so i am not sure what to do here?? Error.log: 2008-07-25T13:41:58

Re: [mapguide-users] How do i load raster in MGOS 2?

2008-07-25 Thread Kenneth Skovhede, GEOGRAF A/S
You need to either change the coordinate system of the map to be XY-M (easy, but not may not be desireable for other data). Or add a coordinate system override to the raster featuresource, mapping XY-M to EPSG:4019. The last option requires that your raster data is coordinate value compatible