[mapserver-users] Large Gap when BBOX spans over dateline (Mercator)

2010-04-23 Thread kaipi

Hi,

I am getting a large gap at the dateline when trying to retrieve a map that
spans over anti meridian:

http://domain.com/cgi-bin/mapserv?map=mymap.mapLAYERS=testFORMAT=image%2FjpegSERVICE=WMSVERSION=1.1.1REQUEST=GetMapSTYLES=EXCEPTIONS=application%2Fvnd.ogc.se_inimageSRS=EPSG%3A900913BBOX=0,-20037508.3427892431,40007501.6855785,20037508.3427892431WIDTH=512HEIGHT=512

http://n2.nabble.com/forum/FileDownload.jtp?type=nid=4949636name=mapserv.jpeg 

I get a complete image when I fetch the same extent in geographic projection
(epsg:4326) but it is not possible when using spherical mercator
(epsg:900913).

These are my projection parameters in mapfile:


PROJECTION
  +proj=merc +lon_0=0 +k=1 +x_0=0 +y_0=0 +a=6378137 +b=6378137
  +units=m +no_defs
END

Any ideas how to fix this ?

Thanks a lot!

Kaipi



-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Large-Gap-when-BBOX-spans-over-dateline-Mercator-tp4949636p4949636.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Help

2010-04-23 Thread Ing. Romanuel Ramon Antunez
Hi I am trying to create a dynamic layer of type chart with php-mapscript but 
when I try to change the field size of the class through the method set() to 
put the field of DB that I do want to graph this not changing. If anyone knows 
what the problem or have a sample would appreciate it.

-- 


--- 
Ing. Romanuel Ramón Antúnez 
Centro de Desarrollo GEySED 
Departamento de Geomática 
Prof. Matemática 
Facultad 9 - UCI 





___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Help

2010-04-23 Thread thomas bonfort
I'm not a mapscript expert, but I seem to remember you must use the
setBinding methods in that case.

--
thomas

On Tue, Apr 20, 2010 at 02:57, Ing. Romanuel Ramon Antunez
rra...@uci.cu wrote:
 Hi I am trying to create a dynamic layer of type chart with php-mapscript but 
 when I try to change the field size of the class through the method set() to 
 put the field of DB that I do want to graph this not changing. If anyone 
 knows what the problem or have a sample would appreciate it.

 --


 ---
 Ing. Romanuel Ramón Antúnez
 Centro de Desarrollo GEySED
 Departamento de Geomática
 Prof. Matemática
 Facultad 9 - UCI





 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users