[mapserver-users] Re: problem with mercator projection

2011-09-23 Thread fred p
Hello Nobody has got an idea whether I am wrong somewhere or there is a problem in the image or ... ? I add the result is OK in EPSG:4326 whatever the bbox is and it is OK too in EPSG:3395 provided the extent longitude is smaller than 360°. However when it is higher... Thanks in advance 2011/9/21

[mapserver-users] Mapscript and Python

2011-09-23 Thread Rustam Kamberov
Hi everyone, i have installed Mapserver, and downloaded Mapscript library for Python, followed the official procedure. I tested http://localhost:8080/cgi-bin/test-cgi-mapscript.py example. it works perfectly. But when I try to import mapscript from Python IDLE, it gives the error shown below:

Re: [mapserver-users] Re: problem with mercator projection

2011-09-23 Thread Rahkonen Jukka
Hi, You perhaps want to achieve a map presenting the whole world once and then some extra from the second round in the margins like http://www.openstreetmap.org/?lat=59lon=-39zoom=1layers=M? It might well be that the transformation functions consider that for EPSG:3395 the maximum values

Re: [mapserver-users] Parameter substitution problem

2011-09-23 Thread Steve Lime
My guess is the validation is correct but the syntax of the URL parameter is is wrong in that the value passed for DATA is not quoted. If you unquote the default value in your mapfile does that result in a error? That would be an easy way to test the need for quotes. One last idea, while

Re: [mapserver-users] Generic template for WMS GetFeatureInfo

2011-09-23 Thread Steve Lime
See http://mapserver.org/output/template_output.html for more info. The idea was to wrap templates in output formats so you can support multiple output types with a single mapfile. You'd have to do that with multiple layers using the old scheme. Plus one template can reference many layers so there

Re: [mapserver-users] Mapscript and Python

2011-09-23 Thread Alan Boudreault
Try to rebuild and recompile the python binding using an old version of SWIG. It seems that using a too recent swig causes issues sometime. I think I normally use swig 1.3.39. Alan On September 23, 2011 04:27:44 am Rustam Kamberov wrote: Hi everyone, i have installed Mapserver, and

[mapserver-users] File Geodatabase - Feature Dataset

2011-09-23 Thread Craig Anderson
I have MANY ArcGIS 10 File Geodatabases whose data is organized into Feature Datasets and I'd liketo be able to serve them upo as WMS/WFS services using Mapserver: How do I path to these vector data that are stored in feature datasets? Niether of these work: CONNECTIONTYPE OGR

RE: [mapserver-users] File Geodatabase - Feature Dataset

2011-09-23 Thread Fawcett, David (MPCA)
Craig, Do you have an instance of OGR that can read ESRI's proprietary File Geodatabase format? David. -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Craig Anderson Sent: Friday, September 23, 2011 9:52

[mapserver-users] Proj 900913 and mapext lat/lon

2011-09-23 Thread Aurélien FILEZ
Hi List, I have data with projection 900913. My mapfile is configured to use this projection. Until there, everything is fine. Also I have an application which manage tiles cutting the world in lat/lon coordinates. For exemple, from -180,-90,180,90, if the zoom=2 it want retreive 4 tiles : 1)

[mapserver-users] Re: Proj 900913 and mapext lat/lon

2011-09-23 Thread Aurélien FILEZ
For example, I have 4 tiles : 1) mapext=-30+30+0+45 2) mapext=-30+45+0+60 3) mapext=0+30+30+45 4) mapext=0+45+30+60 All with mapsize=1024+1024 The result is here : http://kinju59.free.fr/tiles/ For the horizontal cut, it seems to be good, but not for the vertical :( Why ? Should I change my

[mapserver-users] RE: Image Pyramid with gdal_retile and two UTM zones

2011-09-23 Thread aphunter
Hi there. I used gdalwarp to warp one of the zones into the spatial reference system of the other, and everything lined up. The only issue now is that each image seems tilted, and so there is a lot of black space on the warped pyramid. Is there any way to prevent this from happening?