Re: [mapserver-users] How do you configure a server to have two or more different MapServers running on it?

2009-01-15 Thread Till Adams
John Mitchell schrieb: Hi, How do you configure a server to have two or more different MapServers running on it? Thanks, John -- John J. Mitchell ___ mapserver-users

[mapserver-users] How to develop in Mapserver?

2009-01-15 Thread LMonge
Hello I want to develop and adapt an algorithm to the source code of MapServer, but I don't have idea what tool I need to develop in the mapserver. For example: I want to verify step by step that my algorithm run!, verify errors in declarations and fuctions, compile my algorithm with the source

[mapserver-users] What is the size limit in KB for a map file and how can I increase this limit?

2009-01-15 Thread John Mitchell
Hi, What is the size limit in KB for a map file and how can I increase this limit? Thanks, John -- John J. Mitchell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Is there a way to add a single click zoom button

2009-01-15 Thread Pietro Giannini
Yes, but using some javascript in template html. if you want to zoomin 2x: script language=JavaScript function zoom2x() { document.forms['mapserv'].imgxy.value = [mapwidth]/2 + + [mapheight]/2; document.forms['mapserv'].zoom.value = 2;

[mapserver-users] MS4W and map tiles

2009-01-15 Thread Neil.Young
Hi, I managed to connect MS42 with SQL Server 2008, so I can consume on-the-fly map tiles in either VE or GoogleMaps. Is there a way to use MS4W locally with some script to generate the map tiles w/o having to invoke the webserver? Regards ___

RE: [mapserver-users] What is the size limit in KB for a map file and how can I increase this limit?

2009-01-15 Thread Venkat Rao Tammineni
Hi You can you different mapfiles for different layer by using INCLUDE property. So that map file looks simple. You have to call this property in Main mapfie. Exp :- INCLUDE Test.map I hope this helps you .. Thanks Venkat. From: mapserver-users-boun...@lists.osgeo.org

RE: [mapserver-users] newbie: Error in first atttempt to use postgis with mapserver?

2009-01-15 Thread Venkat Rao Tammineni
Hi, I think OID column may not be with your table.Can you check that .. Thanks Venkat. From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Saka Royban Sent: Thursday, January 15, 2009 3:36 PM To: MapServer Subject:

[mapserver-users] aditigroup project wants to chat

2009-01-15 Thread aditigroup project
--- aditigroup project wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-7fb7a1abad-8c13487d20-a5299b278edf22fb You'll need

Re: [mapserver-users] MS4W and map tiles

2009-01-15 Thread Tamas Szekeres
Hi, You can use mapscript (PHP/Java/C#/Python etc.) to incorporate the MapServer functionality in your application. For more information refer to: http://www.mapserver.org/mapscript/index.html Best regards, Tamas 2009/1/15 Neil.Young neil.yo...@freenet.de Hi, I managed to connect MS42 with

Re: [mapserver-users] How to develop in Mapserver?

2009-01-15 Thread Tamas Szekeres
Hi, Do you have an example where you'd like to plug your code into the mapserver codebase, what kind of algorithm you'd like to implement? The debugging options may be specific to the platform and the compiler/debugger beilg used. For example you could compile mapserver with debug info by using

[mapserver-users] JAVA Tomcat

2009-01-15 Thread Sarel Coetzer
Hi Mapserver is my favorite app and want to stay with mapserver in a new project we are bout to undertake. The stack includes: Tomcat server and JAVA., no browser. The JAVA appp will apparently emulate a browser. Sorry I don't have more info than this. Will mapserver function on this stack? I

[mapserver-users] error with OGR in mapfile

2009-01-15 Thread simone.frigerio
I want to connect in map file a raster that is present in the geodatabase. The layer was so written: LAYER NAME shadow_exp1 TYPE RASTER DATA shadow_exp1 TEMPLATE ttt CONNECTIONTYPE OGR CONNECTION riskcity.mdb METADATA

Re: [mapserver-users] What is the size limit in KB for a map file andhow can I increase this limit?

2009-01-15 Thread Steve Lime
John: There is no limit. Depending on what version you're referring too there might be limits on the number of certain types of objects. Most of those limits were removed in the 5.0 release. Why do you think you're running into a size limit? Steve John Mitchell mitchellj...@gmail.com 01/15/09

RE: [mapserver-users] Strange symbols with WMS in ArcGIS

2009-01-15 Thread Steve Lime
I would assume then that all maps coming off your test machine would have the goofy symbols then. I'd debug using plain mapserv cgi (mode=map) or with shp2img. Check to make sure the fonts you're referencing in each environment are identical. Perhaps you're not referencing the symbol you thought

[mapserver-users] Mapserver,RASTER, GDAL SDE

2009-01-15 Thread Russell McOrmond
In tracking why our connections to SDE for Raster wasn't working, I noticed that the same string for gdal_translate doesn't work eithor with how we are buildingthings. I know this is a GDAL question and not mapserver, but I hope folks here may know the magic as this may turn out to be

Re: [mapserver-users] Mapserver,RASTER, GDAL SDE

2009-01-15 Thread Frank Warmerdam
Russell, I have only limited familiarity with the GDAL SDE driver, but I thought I might mention: 1) If you added the SDE support to your configure after a preliminary build of GDAL make sure you do a make clean in the source tree after the configure and before rebuilding with SDE. 2) Confirm

Re: [mapserver-users] error with OGR in mapfile

2009-01-15 Thread Frank Warmerdam
simone.frigerio wrote: I want to connect in map file a raster that is present in the geodatabase. The layer was so written: LAYER NAME shadow_exp1 TYPE RASTER DATA shadow_exp1 TEMPLATE ttt CONNECTIONTYPE OGR CONNECTION

Re: [mapserver-users] Problem with north arrow image not showing up

2009-01-15 Thread Steve Lime
Assuming you're talking about displaying the image in a page generated by MapServer CGI you won't be able to use relative links like that. The browser will interpret relative paths based on /cgi-bin. If you place your north arrow on your website and reference with a fully qualified path (e.g.

Re: [mapserver-users] JAVA Tomcat

2009-01-15 Thread Dave Potts
Sarel Coetzer wrote: You would have to enabled the cgi support in tomcat for this to work, otherwise there should not be a problem. By default Tomcat disabled support for cgi and ssi on the grounds of secuirty. The method for turning on cgi support depends on the version of Tomcat. D. Hi

Re: [mapserver-users] Problems after compiling mapserver

2009-01-15 Thread Russell McOrmond
On Thu, 15 Jan 2009, rafael wrote: ./mapserv: error while loading shared libraries: libgdal.so.1: Cannot open shared object file: No such file or directory. Is where you built and installed libgdal on your library path? IE: local environment variable LD_LIBRARY_PATH or listed somewhere

Re: [mapserver-users] Problems after compiling mapserver

2009-01-15 Thread Rafael chacón
I just find the answer... The problem is that mapserv can't find libgdal even though is installed.If you are in debian and compile libgdal by hand you can do this doing the following: vim /etc/ld.so.conf.d/i486-linux-gnu.con add /usr/local/lib run ldconfig,, That should fix it. On Fri, Jan 16,

RE: [mapserver-users] Strange symbols with WMS in ArcGIS

2009-01-15 Thread Bistrais, Bob
Hi again Steve, Well, I think I have the problem solved, but in a funny sort of way. Previously, I had been using ANSI equivalents for the symbols that I picked. As previously noted, that worked everywhere except ArcGIS over this particular server. So, I experimented and tried the actual

Re: [mapserver-users] newbie: Error in first atttempt to use postgis with mapserver?

2009-01-15 Thread Dan Little
Newer versions of Postgres do not automatically create an OID column, as it was a limited 32-bit construct. Try add using unique XXX where XXX is the column name of the primary key (or at least a unique key). If you've uploaded the layer from a shapefile using ogr2ogr you can use the column

Re: [mapserver-users] Junk text field values for ArcSDE layers

2009-01-15 Thread Tamas Szekeres
Hi, As far as I know the driver doesn't do any character encodings with the values retieved from the database, according to your default database setting you may try to convert those strings manually. For example if your database has the 1252 codepage by default, the character conversion may look

Re: [mapserver-users] Mapserver,RASTER, GDAL SDE

2009-01-15 Thread Russell McOrmond
On Thu, 15 Jan 2009, Frank Warmerdam wrote: 2) Confirm that you are actually installing and replacing the old libgdal.so. Check the date, or even use locate to confirm you know which libgdal's exist on the system. 4) Confirm that I am trying to build a recent gdal (Such as the latest, 1.6.0)

[mapserver-users] Invalid SRS Error

2009-01-15 Thread Bill Thoen
I'm trying to map a shape file of contours as a WMS layer but I'm getting an error, Invalid SRS given: SRS must be valid for all requested layers. When I run OGRinfo on the shape file I get: Geometry: 3D Line String Feature Count: 1308 Extent: (2155250.804139, 1608590.426636) -

Re: [mapserver-users] Invalid SRS Error

2009-01-15 Thread Christopher Schmidt
On Thu, Jan 15, 2009 at 04:26:40PM -0700, Bill Thoen wrote: I'm trying to map a shape file of contours as a WMS layer but I'm getting an error, Invalid SRS given: SRS must be valid for all requested layers. When I run OGRinfo on the shape file I get: OGR is not the problem. Your wms_srs

[mapserver-users] How to Remove Layer

2009-01-15 Thread Venkat Rao Tammineni
Dear All, How to remove layer based on not based on index. Is it possible to remove layer based on name. I am waiting for your great response. Advanced Thanks Regards Venkat. ___ mapserver-users mailing list

[mapserver-users] Turn off bounding box on PostGIS Layer

2009-01-15 Thread Ben Madin
Apologies for cross posting. I'm having an indexing nightmare due to the geom bbox added by mapserver to my query. I tried using the !BOX! to put a constraint nearer the tables in the query, but MapServer is still adding the final where statement to my query. Is there any way to turn