[mapserver-users] Contents of mapserver-users digest

2010-01-21 Thread Muammar (Mario) Manzanares
- Original Message From: mapserver-users-requ...@lists.osgeo.org mapserver-users-requ...@lists.osgeo.org To: mapserver-users@lists.osgeo.org Sent: Wed, January 20, 2010 12:45:25 PM Subject: mapserver-users Digest, Vol 24, Issue 63 Send mapserver-users mailing list submissions to    

[mapserver-users] Joins with MapScript

2010-01-21 Thread Berend Veldkamp
Hello, Using MapScript C#, is there a way to get to the Join object (does it exist at all)? I can see layerObj.numjoins, but not layerObj.getJoin(i) or something similar. Is there a way to retrieve values from a joined table? Best regards, Berend Veldkamp

[mapserver-users] Class gridObj on java mapscript

2010-01-21 Thread Flavio Souza
Hello my friends Anybody knows how to use the class gridObj on Java mapscript ? I can´t find the similar in java thanks a lot Flávio Souza ___ Flávio Souza (021) 7629-4249 ___ mapserver-users mailing list

Re: [mapserver-users] VRT / CSV data sources are not displayed in a layer

2010-01-21 Thread Carlos Ruiz
Stefan, I asked you about your MAP definition to do some tests. This is what I tried and it works: It seems that you have to consider the following: 1. The name of the CSV file has to be the same as the layer name (layer boden and file name boden.csv). 2. You have to add the SrcLayer tag into

[mapserver-users] Re: Mapserver tutorial

2010-01-21 Thread Jeff McKenna
Sajjad Anwar wrote: Hello Jeff. I was reading through the Mapserver.org website and found your tutorial. The material is very helpful. But the download link is broken. Can you send me an offline pdf version of it? Thanks! Hello Sajjad, You should now be able to download the MapServer

[mapserver-users] Field type

2010-01-21 Thread Berend
Hi, Is there a way to determine field types of a layer (string, number, ...), using mapscript? Thanks, Berend - Berend Veldkamp http://www.grontmij.com http://www.grontmij.com -- View this message in context: http://n2.nabble.com/Field-type-tp4435623p4435623.html Sent from the

Re: [mapserver-users] Field type

2010-01-21 Thread Tamas Szekeres
Berend, The fields are represented as strings in MapServer so the field types cannot normally be obtained in MapScript. In case of a shapefile layer you could probably create a shapefileObj and use getDBF to obtain a DBInfo object and use DBInfo.getFieldType to retrieve the type of a specific

Re: [mapserver-users] Joins with MapScript

2010-01-21 Thread Tamas Szekeres
Berend, This functionality is not yet exposed in the MapScript interface, you can specify the JOIN elements in your mapfile though. Best regards, Tamas 2010/1/21 Berend Veldkamp b.veldk...@zonnet.nl Hello, Using MapScript C#, is there a way to get to the Join object (does it exist at

Re: [mapserver-users] Class gridObj on java mapscript

2010-01-21 Thread Tamas Szekeres
Flavio, I'm not aware of such class exposed in Java MapScript. Best regards, Tamas 2010/1/21 Flavio Souza fls...@gmail.com Hello my friends Anybody knows how to use the class gridObj on Java mapscript ? I can´t find the similar in java thanks a lot Flávio Souza

Re: [mapserver-users] VRT / CSV data sources are not displayed in a layer

2010-01-21 Thread Frank Warmerdam
Stefan, I would suspect that your .vrt file contains relative rather than absolute paths and that they are relative to a different working directory if used from MapServer. There is an attribute for the SrcDataSource that may address this. It might help if you posted the VRT. 2010/1/20 Stefan

[mapserver-users] PHP layer-updateFromString problem setting type and symbol name

2010-01-21 Thread Joe Franklin
I really like the updateFromString functions in Mapserver Mapscript. I've eliminated my .map files, instead storing the layer definitions in a database and drawing them on-demand using PHP. However, I've found a few values ($layer-type and $style-symbolname) that aren't correctly set using

[mapserver-users] SQL Server 2008 layer C# MapScript query help

2010-01-21 Thread Willem Swanepoel
Hi, I'm just starting out with MapServer / MapScript C#. I get Attempted to read or write protected memory when trying to retrieve the shape of the selection in a SQL Server layer. Code snippet below (adapted from example code): if (layer.queryByPoint(Map, point, mapscript.MS_SINGLE,