[mapserver-users] Question on MapServer tutorials

2009-11-03 Thread graham_allan
Dear all, I'm currently trying to follow the MapServer tutorials http://mapserver.org/tutorial/example1-1.html#example1-1 by Pericles S. Nacionales, I have successful downloaded and installed both the tutorial data and MS4W http://maptools.org/ms4w/ distribution but when I try the URL in the

Re: [mapserver-users] Question on MapServer tutorials

2009-11-03 Thread Alan Boudreault
Hi Graham, The map parameter is always an absolute path to the mapfile. Not a relative or a web path (alias) neither. Currently, you are using a Unix system path. You should use the proper Windows path in the URL: http://...?map=C:\ms4w\apps\tutorial\mapfiles\a_mapfile.mapotherOption=... Alan

[mapserver-users] getFeatureinfourl phpmapscript

2009-11-03 Thread Thambirajah Sunthararajah
I am Sunthararajah I am developing WebGIS APPLICATION MapServer ,phpmapscript and Postgresql/postgis I am unable get feature information of feature. Any body provide working sample for me please-getFeatureinfoURL in phpmapscript I want to submit this project to complete my M.Sc please help

[mapserver-users] Starting with TIGER Line Data and MapServer

2009-11-03 Thread Monali Lodha
Hi, We are working on displaying the TIGER Data using MapServer. This is our first time with MapServer, and we would appreciate your help in the following areas: 1. We could run the Itasca Demo Application. However, we could not integrate our shapefiles with the sample Mapfile. We have read the

Re: [mapserver-users] Starting with TIGER Line Data and MapServer

2009-11-03 Thread Stephen Woodbridge
Monali Lodha wrote: Hi, We are working on displaying the TIGER Data using MapServer. This is our first time with MapServer, and we would appreciate your help in the following areas: 1. We could run the Itasca Demo Application. However, we could not integrate our shapefiles with the sample

[mapserver-users] Tcl Mapscript

2009-11-03 Thread Thiago Tiedtke
Hi, Could anyone tell me if it is possible to compile the mapserver (current version) to support the tclmapscript? The support for this interface is stoped? The last version supported (in source tree mapscript/tc/README) is mapserver 3.5! I need to use the mapserver interface+postgres/postgis

Re: [mapserver-users] Starting with TIGER Line Data and MapServer

2009-11-03 Thread Dan Little
A few questions for you. Regarding #1 Were all of your shapes in the same projection as the Itasca demo? If not, their coordinates may have been far outside of the extents of the map. Regarding #2 Do you have 300 shapefiles, meaning you have 300 layers you wish to display? If so, you might

Re: [mapserver-users] Starting with TIGER Line Data and MapServer

2009-11-03 Thread Monali Lodha
Thanks Stephen and Dan! @Stephen The recent Tiger Shapefiles come with .prj files and do have a projection. Could there be a different issue then? @Dan Regarding #1 Were all of your shapes in the same projection as the Itasca demo? If not, their coordinates may have been far outside of the

RE: [mapserver-users] Starting with TIGER Line Data and MapServer

2009-11-03 Thread Fawcett, David
Is the projection of the TIGER files and the output projection of the Itasca Demo the same? I am guessing that Itasca uses UTM Zone 15N (EPSG 26915) and that the TIGER data might be in a geographic spatial reference system (EPSG 3624?). If this is the case, you will need to define the input

Re: [mapserver-users] Designing a wrapper around mapserv which can be used with fcgi

2009-11-03 Thread Andy Colson
Andy Colson wrote: Adrian Popa wrote: Hello everyone, I am currently using a wrapper around mapserv which receives the URL parameters, builds the map file (actually I only need to set some filters in the map file, but the filters need to be built after running some SQL queries with the

Re: [mapserver-users] Starting with TIGER Line Data and MapServer

2009-11-03 Thread Stephen Woodbridge
Monali Lodha wrote: Thanks Stephen and Dan! @Stephen The recent Tiger Shapefiles come with .prj files and do have a projection. Could there be a different issue then? Mapserver does NOT look at the *.prj file. You have to do that yourself and set the PROJECTION ... END blocks appropriately

[mapserver-users] uDig and MapServer WFS

2009-11-03 Thread graham_allan
Dear All, I'm trying to use uDig in connection with MapServer's WFS capability. I have set up a .map file that contains all the information needed for a WFS according to the instructions in the MapServer user guide http://mapserver.org/ogc/wfs_server.html and can get the XML in response to a

Re: [mapserver-users] uDig and MapServer WFS

2009-11-03 Thread Barend Köbben
Hi, I have found that a uDig/Mapserver combination is especially picky on data that has no clear extent. Try explicitely mentioning the extent, by including ows_extent xmin ymin xmax ymax or wfs_extent xmin ymin xmax ymax in the METADATA section of each LAYER definition Hope this helps, --

Re: [mapserver-users] Question on MapServer tutorials

2009-11-03 Thread Alan Boudreault
Graham, After verification, it seems that apache is able to handle path like /ms4w/dir1 without the C:/. It is supposed to assume that the hard drive asked is the same that the web server is running. Alan On November 3, 2009 07:04:54 am Alan Boudreault wrote: Hi Graham, The map parameter

Re: [mapserver-users] Help with NQuery error (CGI)

2009-11-03 Thread Paul james
Thanks Steve... Trying execute a query point like that:

AW: [mapserver-users] Query feature using openlayers and mapserver

2009-11-03 Thread Arnd Wippermann
Hi, Look for the visibility of your querylayer and decide what to do map.events.register('click', map, function (e) { var flag=map.getLayersBy(name, querylayer)[0].visibility; if(flag) { var url = http://localhost/cgi-bin/mapserv.exe; + ?map=map/file/directory.map

Re: AW: [mapserver-users] Query feature using openlayers and mapserver

2009-11-03 Thread Aypes
Arnd Wippermann wrote: Hi, Look for the visibility of your querylayer and decide what to do map.events.register('click', map, function (e) { var flag=map.getLayersBy(name, querylayer)[0].visibility; if(flag) { var url = http://localhost/cgi-bin/mapserv.exe;

Re: [mapserver-users] Designing a wrapper around mapserv which can be used with fcgi

2009-11-03 Thread Adrian Popa
Thank you Andy for explaining. Actually my wrapper is very hard-core, meaning I don't use mapscript (because I had to build it quickly and didn't have time to research which was the best approach). Now I have more time and I'd like to tune things up, so I will definitely start studying