Hi Asif, Ok, here's a new mapfile that you can try. Change your request to point to this one, and see if you get an image back in your browser.
Roger -- On Tue, Oct 28, 2008 at 2:06 PM, Asif Memon <[EMAIL PROTECTED]> wrote: > I believe one of the "END" was missing at the end of the file, I have > added that. This resolves the earlier error and generated a new one - > msDrawMap(): > Image handling error. Unable to initialize image. msPrepareImage(): General > error message. Image dimensions not specified. msCalculateScale(): General > error message. Invalid image extent, minx=-1.000000, miny=-1.000000, > maxx=-1.000000, maxy=-1.000000. mapserv(): Web application error. No way to > generate map extent. > > > > Any help is much appreciated? > > > > Sincerely, > > Asif Memon > > > > *From:* Asif Memon > *Sent:* Tuesday, October 28, 2008 1:48 PM > *To:* 'Roger André' > *Cc:* '[email protected]' > *Subject:* RE: [mapserver-users] RE: Documentation for serving large > raster images using tile cache. > > > > No, TileCache didn't come with that. I am trying to view any image right > now to see an example of serving an image into Mapserver. > > > > I changed the path of the WMS URL( > http://localhost:9090/cgi-bin/mapserv.exe?map=C:\Asif\work\devtools\MMS\ms4w\Apache\htdocs\mapdemo\demo.map&mode=map<http://localhost:9090/cgi-bin/mapserv.exe?map=C:%5CAsif%5Cwork%5Cdevtools%5CMMS%5Cms4w%5CApache%5Chtdocs%5Cmapdemo%5Cdemo.map&mode=map>) > and the error I am getting now is - msLoadMap(): Premature End-of-File. > > > > I ran the GDAL tile cache command on a .tif image to create the shape files > using (gdaltindex doq_index.shp doq/*.tif). Also, I made some changes in the > map file. Attached is the most updated map file along with the shape files. > > > > Could you please take a look at it. > > > > Sincerely, > > Asif Memon > > > > *From:* Roger André [mailto:[EMAIL PROTECTED] > *Sent:* Tuesday, October 28, 2008 1:22 PM > *To:* Asif Memon > *Subject:* Re: [mapserver-users] RE: Documentation for serving large > raster images using tile cache. > > > > Sorry I assumed that the index.html file was the one that came with > TileCache. Is that not correct? > -- > > On Tue, Oct 28, 2008 at 1:02 PM, Asif Memon <[EMAIL PROTECTED]> wrote: > > Thanks for your reply. > > > > Attached is the map file. I do not have the any tilecache.cfg file. From > the error(msLoadMap(): Unable to access file. (/path/to/demo.map)), it > appears the map file is not accessible. > > > > Sincerely, > > Asif Memon > > > > > > *From:* Roger André [mailto:[EMAIL PROTECTED] > > *Sent:* Tuesday, October 28, 2008 12:53 PM > *To:* Asif Memon > > *Cc:* [email protected] > > > *Subject:* Re: [mapserver-users] RE: Documentation for serving large > raster images using tile cache. > > > > Hi Asif, > > Are you able to view a map when you go to " > http://localhost:9090/cgi-bin/mapserv.exe?map=/path/to/itasca.map&mode=map" > ? Also, can you send a copy of your mapfile, and of your tilecache.cfg > files? > > Roger > -- > > On Tue, Oct 28, 2008 at 11:15 AM, Asif Memon <[EMAIL PROTECTED]> wrote: > > Hi Roger, > > > > I followed the instructions on the documentation and setup the map server > and demo, when I try to execute the index.html, I get this error - > msLoadMap(): > Unable to access file. (http://localhost:9090/mapdemo/itasca.map) > > > > Do you know what could be it? > > > > Sincerely, > > Asif Memon > > > > *From:* Roger André [mailto:[EMAIL PROTECTED] > *Sent:* Monday, October 20, 2008 1:38 PM > *To:* Gregor Mosheh > *Cc:* Asif Memon; [email protected] > *Subject:* Re: [mapserver-users] RE: Documentation for serving large > raster images using tile cache. > > > > Hi Asif, > > Best thing to do is take a look at these 2 docs first: > - http://mapserver.gis.umn.edu/docs/howto/raster_data > - http://tilecache.org/readme.html > > Once you have the ability to see your raster in MapServer via a "mode=map" > request, then you will have to decide how you wish to view your data > afterwards. There are different things to do in TileCache depending on > whether you wish to view the data in OpenLayers, or over Google Maps/MS VE. > -- > > On Mon, Oct 20, 2008 at 12:01 PM, Gregor Mosheh <[EMAIL PROTECTED]> > wrote: > > Asif Memon wrote: > > Could someone please point me to the documentation for serving large (2GB > to 3GB) raster images using tile cache. I want to use Minnesota Map Server > and GDAL to achieve this. > > > > You'll want to ask the TileCache list about that, likely. Once you have > MapServer actually serving up the imagery, get your client using MapServer > or WMS (I like OpenLayers, myself). Then install TileCache and change the OL > app to use TC's URL instead of MapServer's. Easy. > > But you may want to install OpenLayers and get it working with MapServer > first, then hit up the OL and TC mailing lists. > > -- > Gregor Mosheh / Greg Allensworth BS, A+, Network+, Security+, Server+ > System Administrator, Lead Programmer > HostGIS development & hosting services, http://www.HostGIS.com/ > > "Remember that no one cares if you can back up, > only if you can restore." - AMANDA > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > > > >
itasca_demo.map
Description: Binary data
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
