[mapserver-users] ECW with Debian 4

2008-05-16 Thread Gregorio Muñoz Avila
Hello,

I am trying to install MapServer with Debian 4, but I can not read files
ECW. I have read on the Internet that GDAL does not support this format for
my system. What would I do that to support MapServer with ECW Debian?

Thank you.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Say goodbye to 900913

2008-05-16 Thread Diego Guidi
http://www.iter.dk/post/2008/05/SphericalWeb-Mercator-EPSG-code-3785.aspx

--
Diego Guidi
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [MAPSERVER-USERS] Routing Algorithm Confusion !

2008-05-16 Thread Ritesh Ambastha

Thanks Sandeep, 

Yeah I know that there are few algorithms exist to solve this case. 
Please let me know few names(links) of good algorithms which are followed to
solve this problem

Regards,
Ritesh


jssandeep wrote:
 
 I guess there are several research papers on fast/quick routing on road
 networks ... most of them modify dijkstra's ...
 there are citations on *parallel* dijkstra's if you want to scale ..to
 large
 number of nodes ...
 
 Thanks
 Sandeep
 
 
 On Fri, May 16, 2008 at 5:08 AM, Ritesh Ambastha [EMAIL PROTECTED]
 wrote:
 

 Dear Readers,

 I use Dijkstra's shortest path algorithm for route computation. I am
 satisfied with the accurate result it gives. Still, I feel for road
 segments
 ~ 200Million, the route computation will take a lot of time. So, is there
 another algorithms exist as best practices for route computation(like
 A*,TSP,etc)? Or, geeks write their own algorithm for route computation?

 Thanks and Regards,
 Ritesh Ambastha
 --
 View this message in context:
 http://www.nabble.com/Routing-Algorithm-Confusion-%21-tp17264809p17264809.html
 Sent from the Mapserver - User mailing list archive at Nabble.com.

 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users

 
 
 
 -- 
 Thanks
 Regards
 
 Sandeep Kumar Jakkaraju
 
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users
 
 

-- 
View this message in context: 
http://www.nabble.com/Routing-Algorithm-Confusion-%21-tp17264809p17270028.html
Sent from the Mapserver - User mailing list archive at Nabble.com.

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] msLoadMap() Unable to access file

2008-05-16 Thread Burgholzer,Robert
The only thing I can see initially, Is tht you may want to change the
IMAGEURL slashes in your mapfile to /tmp/ instead of \tmp\.

 

Robert W. Burgholzer

Surface Water Modeler

Office of Water Supply and Planning

Virginia Department of Environmental Quality

[EMAIL PROTECTED]

804-698-4405

Open Source Modeling Tools:

http://sourceforge.net/projects/npsource/

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, May 15, 2008 4:48 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] msLoadMap() Unable to access file

 

Hello.

I try to run an example i found in B. Kropla's book (Beginning MapServer
- Open Source GIS Development) in windows XP.
I create a hello.html template which is placed in htdocs folder of the
Apache server.
Also, hello.map is placed in htdocs folder as well.
The contents of hello.html are:

html
  headtitleMapServer Hello World/title/head
  body
form method=POST action=\cgi-bin\mapserv.exe
  input type=submit value=Click Me
  input type=hidden name=map
value=hello.map
  input type=hidden
name=map_web_imagepath value=c:\ms4w\Apache\htdocs\tmp\
/form
IMG SRC=[img] width=400 height=300 border=0
/body
/html

The conents of hello.map are:

#This is our Hello World mapfile
NAME Hello_world
SIZE 400 300
IMAGECOLOR 249 245 186
IMAGETYPE png
EXTENT -1.00 -1.00 1.00 1.00
WEB
TEMPLATE c:\ms4w\Apache\htdocs\hello.html
IMAGEPATH c:\ms4w\Apache\htdocs\tmp\
IMAGEURL \tmp\
END
LAYER
STATUS default
TYPE point
FEATURE
POINTS 0.0 0.0 END
TEXT Hello World
END

CLASS
STYLE
COLOR 255 0 0
END
LABEL
TYPE bitmap
END
END
END
END



When i click on Click me button i get the message msLoadMap() Unable
to access file hello.map.
Furthemore,when i move hello.map in cgi-bin folder of the Apache server
and change the corresponding line in hello.html
to  input type=hidden name=map value=cgi-bin\hello.map 
i get the message 

loadWeb(): Unknown identifier. Parsing error near (C):(line 1)
 
 
Furthemore,when i open hello.html instead of getting just the click-me
button i get the following:
 
 
 

\par \lang1033\f1 \lang1032\f0  \par \lang1033\f1 \lang1032\f0  \par
\lang1033\f1 \lang1032\f0  \par \lang1033\f1 \lang1032\f0 

\par \lang1033\f1 \lang1032\f0 \par \par \par } 

 


I have read other mail on the same problem but i could not figure it
out.
Thank you.

Nikos Papadakis
Department of Computer  Communications Engineering
Univercity of Thessaly.








___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] PHP WMS Client error

2008-05-16 Thread marta fuster
Dear list,

We have a problem with the PHP WMS Client downloaded from
http://mapserver.refractions.net/. We have upload that client in our web
server and when we try to test it with our wms we get that error:
*

Fatal error*: Call to undefined function xmldoc() in *
/srv/htusers/gis/geoportal/wms_layerframe.php* on line *66

*do you know where is the error? Any Ideas?

Thanks!
*


*
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] using GDAL to display a PNG Raster.

2008-05-16 Thread Nelson Soto
Hello,

I have a PNG that I would like to use as an overlay for a 2x6 set of
aerial tiles. I just want to use MINSCALE and MAXSCALE to turn one and
the other off and on.

That isn't the problem I'm having.

I can't get the PNG to display. The file itself is fine, but I can not
make a mapfile display the PNG.

I have made a new mapfile that I want to just display the PNG first
before possibly integrating it into the same mapfile as my tileindex.
I know that the PNG is supposed to be georeferenced but I don't know
how to create those files so I would like to use GDAL to output the
PNG as I hear It will simply apply the extents.

Here is what I have:

MAP
NAME 'overlay'
SIZE 800 650
STATUS ON
EXTENT  201000.00 874000.00 213000.00 882000.00
UNITS METERS
FONTSET '../fonts/fontset.list'
SYMBOLSET '../symbols/symbol.sym'
TRANSPARENT OFF
IMAGETYPE PNG

OUTPUTFORMAT
NAME png
DRIVER GDAL/PNG
MIMETYPE image/png
FORMATOPTION TARGET=95
IMAGEMODE PC256
END

QUERYMAP
STATUS ON
STYLE SELECTED
END

WEB
INCLUDE /ms4w/apps/GeoMOOSE/maps_test/web_config.map
END

LEGEND
STATUS OFF
END

LAYER
NAME overlay
STATUS DEFAULT
TYPE RASTER
DATA overlay.png
#MINSCALE 14000
END


END ## end Map

Also, the PNG is color. I would like my overlay to certainly be in color.

The mapfile and png are in the same dir.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] using GDAL to display a PNG Raster.

2008-05-16 Thread Fawcett, David
Nelson, 

If you know the geographic extent of the image, you could create a world
file for it by hand.  MapServer should recognize it then.  

http://en.wikipedia.org/wiki/World_file

David.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nelson
Soto
Sent: Friday, May 16, 2008 8:21 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] using GDAL to display a PNG Raster.


Hello,

I have a PNG that I would like to use as an overlay for a 2x6 set of
aerial tiles. I just want to use MINSCALE and MAXSCALE to turn one and
the other off and on.

That isn't the problem I'm having.

I can't get the PNG to display. The file itself is fine, but I can not
make a mapfile display the PNG.

I have made a new mapfile that I want to just display the PNG first
before possibly integrating it into the same mapfile as my tileindex. I
know that the PNG is supposed to be georeferenced but I don't know how
to create those files so I would like to use GDAL to output the PNG as I
hear It will simply apply the extents.

Here is what I have:

MAP
NAME 'overlay'
SIZE 800 650
STATUS ON
EXTENT  201000.00 874000.00 213000.00 882000.00
UNITS METERS
FONTSET '../fonts/fontset.list'
SYMBOLSET '../symbols/symbol.sym'
TRANSPARENT OFF
IMAGETYPE PNG

OUTPUTFORMAT
NAME png
DRIVER GDAL/PNG
MIMETYPE image/png
FORMATOPTION TARGET=95
IMAGEMODE PC256
END

QUERYMAP
STATUS ON
STYLE SELECTED
END

WEB
INCLUDE /ms4w/apps/GeoMOOSE/maps_test/web_config.map
END

LEGEND
STATUS OFF
END

LAYER
NAME overlay
STATUS DEFAULT
TYPE RASTER
DATA overlay.png
#MINSCALE 14000
END


END ## end Map

Also, the PNG is color. I would like my overlay to certainly be in
color.

The mapfile and png are in the same dir.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Setting up a MAP file to use data on a network share [newbie I guess! :-) ]

2008-05-16 Thread Milo van der Linden

Hello Greg,

I think that it is the account that the IIS service runs in that needs 
to be allowed access to the network share. So either you have to 
reconfigure the IIS server to run as your user (which brings up a whole 
new set of trouble :-() or open the share to the local IIS service account.


Your trouble is windows only and mainly an authorization issue unrelated 
to mapserver.


See if you can get in touch with a good system Windows administrator to 
testdrive various settings.



If none of this works out, I know of ways to open up postGIS accross the 
windows network which might be a last resort.


Good luck!

Milo van der Linden


Greg Cocks wrote:

Hello List,


I am trying to set up a MAP file to use a network share for the files that for 
various reasons I can’t get into PostgreSQL, etc… i.e., so that we only have 
one copy of the data being used internally and on the web, etc


I proceeded as follows

 - Using IIS on a Windoze box (yeah, yeah, grin) set up a virtual directory to 
a network share using a UNC path \\server\directory that I use all the time 
with ArcGIS, etc – called it wms_data

 - Added my credentials in the ‘Connect As’ in IIS

 - Used the explore in the IIS MMC and confirmed I could browse the data there

 - Confirmed that the directories had the relevant web access permissions

 - Charged the relevant line in my MAP file to → SHAPEPATH /wms_data/

 - Changed the layer’s data pointer to → DATA subdirectory/sameshapefilename


* When I now load the page it says it can’t find the layer’s data!  Ugh! *


Note that if I use a local (i.e., C:\...\...\) path for the data and in the MAP 
file it works just fine… Also, want to look at MrSIDs the same way, which again 
works just fine using a C:\ path…


Note that I know enough about IIS to be dangerous!   ☺


Thanks in advance for your help

--
Regards,
GREG COCKS
GIS Analyst V
[EMAIL PROTECTED]
S. M. Stoller Corp
105 Technology Drive, Suite 190
Broomfield, CO 80021
www.stoller.com
303-546-4300
303-443-1408 fax
303-546-4422 direct
303-828-7576 cell

  



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] PHP WMS Client error

2008-05-16 Thread Milo van der Linden

Hello Marta,

Can you check by running a phpinfo(); if DOM XML support is installed in 
your php version? Because that is what seems to be lacking.


Your php install will need to have a file like domxml.so or domxml.dll.

Kind regards,

Milo van der Linden



marta fuster wrote:

Dear list,

We have a problem with the PHP WMS Client downloaded from 
http://mapserver.refractions.net/. We have upload that client in our 
web server and when we try to test it with our wms we get that error:

*

Fatal error*: Call to undefined function xmldoc() in 
*/srv/htusers/gis/geoportal/wms_layerframe.php* on line *66


*do you know where is the error? Any Ideas?

Thanks!
*


*


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] loadWeb(): Unknown identifier. Parsing error near(:):(line 1)

2008-05-16 Thread Rahkonen Jukka
Hi,

I guess that Mapserver thinks that the first line in the mapfile should be

MAP

-Jukka Rahkonen-



-Alkuperäinen viesti-
Lähettäjä: [EMAIL PROTECTED] puolesta: ? ?
Lähetetty: pe 16.5.2008 22:46
Vastaanottaja: Mapserver-users
Aihe: [mapserver-users] loadWeb(): Unknown identifier. Parsing error 
near(:):(line 1)
 
I got over the msLoadMap() problem.
but now i get this message :   loadWeb(): Unknown identifier. Parsing 
error near (:):(line 1)

I have checked the map file over and over agian but i can't find any error.
I quote the contents of map file and html template  again.


Map file (name : hello.mapLocation  C:/ms4w/Apache/htdocs/hello.map)

NAME Hello_world
SIZE 400 300
IMAGECOLOR 249 245 186
IMAGETYPE png
EXTENT -1.00 -1.00 1.00 1.00
WEB
TEMPLATE c:/ms4w/Apache/htdocs/test.html
IMAGEPATH c:/ms4w/Apache/htdocs/tmp/
IMAGEURL /tmp/
END
LAYER
STATUS default
TYPE point
FEATURE
POINTS 0.0 0.0 END
TEXT Hello World
END
   
CLASS
STYLE
COLOR 255 0 0
END
LABEL
TYPE bitmap
END
END
END
END
   



HTML Template (name : test.html  Location:C:/ms4w/Apache/htdocs/test.html )






O/H Jeff McKenna ??:
 Hello,

 There were changes in MapServer 5.0 in the way CGI variables are 
 passed...so you might try to replace that map_web_imagepath line in 
 your hello.html with something like:

 input type=hidden name=map_web value=imagepath 
 /ms4w/tmp/ms_tmp/ imageurl /ms_tmp/

 -jeff


















___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users