Re: [mapserver-users] Getting introduced to MapScript

2012-08-03 Thread Luís de Sousa
Thank you Stephen, loading an existing MapFile and looking into its contents should help indeed, but it is a bit frustrating to see such basic things lacking in the documentation. In any case, I'd ask again if this is the right place to ask help for on MapScript, or if there's another forum

Re: [mapserver-users] Getting introduced to MapScript

2012-08-03 Thread Luís de Sousa
Hi Cristiano, thank you for the reply. I'm precisely trying to build a wrapper API for the specific where you a GML file and want to automatically publish it through MapServer. If I understand correctly from your message there is no way set the layer TYPE attribute directly. Is this the same

Re: [mapserver-users] Using spatialite with mapserver

2012-08-03 Thread Andrea Peri
This looks like an OGR bug, I have correct info in views_geometry_columns (refering to geom2 of the main table) and in geometry_columns (both geom1 and geom2 has records). For now, forget multiple geometries and create new single geometry tables and enjoy the speed of Spatialite and Mapserver.

Re: [mapserver-users] Using spatialite with mapserver

2012-08-03 Thread Rahkonen Jukka
Hi, I correct myself, support for multiple geometry columns is not a bug but a missing feature. I just wrote about it into GDAL-dev list. Let's see what happens. When it comes to error with 'limit 20' I believe that the real problem is in a different place. I bet that there is a faulty

[mapserver-users] Bug in Oracle-Spatial-Support

2012-08-03 Thread umn-ms
Hi We are using Mapserver 6.0.3 We think there is a serious problem in the TRY-Method of maporaclespatial.c SHORT DIAGNOSIS: I think there is a serious problem in the TRY-Method of maporaclespatial.c. After the first error in the msOracleSpatialHandler this method will always return 0, which

[mapserver-users] getShape failing; changes from mapserver 5.6 to 6.0

2012-08-03 Thread Stefan Schwarzer
Hi there, I am struggling with a few changes I need to go through in order to make my code working now with mapserver 6.x. This one concerns the query part, when a user clicks on the map and a window with some metadata is being displayed. An error message occurred: Catchable fatal

Re: [mapserver-users] Getting introduced to MapScript

2012-08-03 Thread Stephen Woodbridge
On 8/3/2012 3:49 AM, Luís de Sousa wrote: Thank you Stephen, loading an existing MapFile and looking into its contents should help indeed, but it is a bit frustrating to see such basic things lacking in the documentation. In any case, I'd ask again if this is the right place to ask help for on

Re: [mapserver-users] getShape failing; changes from mapserver 5.6 to 6.0

2012-08-03 Thread Lime, Steve D (DNR)
The query code underwent major changes between 5.6 and 6.0 and one casualty was query processing like you're doing. On the bright side it's much more straight forward now. The general steps for a layer-based query is now just: $layer-queryByRect($map, $rect); # layer is left open after a query

[mapserver-users] MapServer and ArcSDE

2012-08-03 Thread Simon McCabe
Hi All, I have an ArcSDE 10 database in SQL server. Can you let me know the best approach to viewing this data in MapServer - for example, should I compile SDE support into MapServer or alternatively use the OGR approach to viewing it? Any hints would be much appreciated - I don't have a lot

Re: [mapserver-users] Mapserver Template - Conditionals

2012-08-03 Thread Lime, Steve D (DNR)
Hi Donald: To answer your questions... 1. You can't do an AND with [item ...] tags. They are single item only. We'd really need to introduce true conditionals into the templates. It's done a bit for legend templates but I don't know how much work is necessary to extend that. One work around

Re: [mapserver-users] Basic Templating

2012-08-03 Thread Lime, Steve D (DNR)
If you're using templates to present query results the template should be referenced in a layer. TEMPLATE in the web object is for mode=browse only and is generally not used much anymore. What does your query URL look like? The template you pasted below doesn't look to contain any references

[mapserver-users] Image quality

2012-08-03 Thread Travis Kirstine
I am having issues with the output image quality of MapServer. I have a mapserver set up as a wms server up high res orthophoto images. The images are in tiled geotiff format with JPEG / YCBCR compression with internal gaussen overviews and referenced using a tile index in the mapfile with the

Re: [mapserver-users] Mapserver Template - Conditionals

2012-08-03 Thread Donald Kerr
Steve, Thanks for your input again. I've filed a ticket for 2 and 4 as I think that would tidy things up a good deal. Although blank lines don't really cause any problem, it's a bit untidy and, if there are a load of item declarations, there can be a lot of blank lines. See ticket here:

Re: [mapserver-users] [gdal-dev] Spatialite tables with multiple geometry columns

2012-08-03 Thread Even Rouault
Andrea created http://trac.osgeo.org/gdal/ticket/4768 and I've just committed the code in trunk to add that support. I've tested it with a tiny sample just made for the unit test. No reason it should not work with more complex DBs, but testing appreciated.

Re: [mapserver-users] Using spatialite with mapserver

2012-08-03 Thread Andrea Peri
Hi the 200.000 limit was effectively an invalid geometries, thx. About the multi-geometry question. I'm try-ing the option DATA 'table(geometry)' but I have a secondary problem. Infact this sintax seem deny the access to other fields. So was impossible to set a label. I'm missing something