[mapserver-users] How to use 01 connection for all layers in map file

2009-08-06 Thread Mr. Bic Phuong
Dear MapServer Developers and Users, Currently I'm using MapServer and OpenLayers for my web map which has: - 1 tilecache layer (base map) - 17 WMS layer So there are a big problem: There are more than 17 connections to ArcSDE Oracle in the map file. How can I use 01 connection for all layers or

RE: [mapserver-users] Impossible to draw SDO GeometriesfromOraclewhen SDO_GTYPE is 2007 and the interpretationis2(connectivity by arcs : SDO_ELEM_INFO(1, 1003, 2, [...]) )

2009-08-06 Thread Julien Collaer
Hello list, We've just look to the code of maporaclespatial.c and found that all the work was nearby done. Also we found a ticket that has already started to resolve it, but was not working and not yet integrated to the trunk. Then we patch it and submit a new diff file in a reply : http://trac.os

Re: [mapserver-users] Impossible to draw SDO GeometriesfromOraclewhen SDO_GTYPE is 2007 and the interpretationis2(connectivity by arcs : SDO_ELEM_INFO(1, 1003, 2, [...]) )

2009-08-06 Thread Thomas Bonfort
the value of "few" would vary quite a bit depending on: * if oracle spatial provide routines to segmentize arcs * if you have to code that segmentation into the mapserver driver * if you have to modify mapserver logic to treat arcs internally which one do you have in mind ? www.camptocamp.com +3

[mapserver-users] How to use 01 connection for all layers in map file

2009-08-06 Thread Mr. Bic Phuong
Your reply is really good news, Will you please to tell me details on details how can I do like you with a map file which has more than 17 connection now? I do not understand yet clearly how to use "single" MapServer layer for all? Thanks so much and I hope you can help me more! --- On Thu,

RE: [mapserver-users] Impossible to draw SDO GeometriesfromOraclewhen SDO_GTYPE is 2007 and the interpretationis2(connectivity by arcs : SDO_ELEM_INFO(1, 1003, 2, [...]) )

2009-08-06 Thread Julien Collaer
Thanks, With the patch we've posted in the modification of the ticket 2772 (http://trac.osgeo.org/mapserver/attachment/ticket/2772/os_curvedpolygon.diff) everything is working fine for us now. This is our first try to help the community, it's just a "easy" hack... But we hope it'll be possible

RE: [mapserver-users] How to use 01 connection for all layers in map file

2009-08-06 Thread Jelmer Baas
Don't you mean that you don't want your Oracle connection opened and closed for each layer? If that's the case, you can use the setting PROCESSING "CLOSE_CONNECTION=DEFER" in your Layer. See http://ms.gis.umn.edu/docs/reference/mapfile/layer

[mapserver-users] Openlayers / wfs

2009-08-06 Thread YOUNESS ELMEDRAOUI
Hello, i want to display my data with openlayers using wfs/mapserver, when i tested them on my web application, my data is not displayed, i have a blank area. my mapfile:...WEB...METADATA "wfs_title" "WFS OL ORA" "wfs_onlineresource" "http://localhost:81/cgi-bin/mapserv.exe?map=C:\OLWebSite\App_Dat

Re: [mapserver-users] Openlayers / wfs

2009-08-06 Thread Rafael Soto
Hello youness.. Test if you have a some datas in a BBOX was send in AJAX OpenLayers request.. In a FAQ about this issue the problem is not in mapserver or openlayer as problem in BBOX EXTENT query restriction on database! Hopes, 2009/8/6 YOUNESS ELMEDRAOUI : > Hello, > > i want to display my data

Re: [mapserver-users] Problem using getShape with MsSql2008 (Mapscript C#)

2009-08-06 Thread Paul james
Just an update... The shape values are all there... The only thing is wrong is the bounds (-1) ... On Wed, Aug 5, 2009 at 5:44 PM, Paul james wrote: > I´ll check... > But the same layer/id worked fine using Postgis... So I should be a bug... > > Paul > > > On Wed, Aug 5, 2009 at 5:38 PM, Tamas S

[mapserver-users] Export geotiff Mapserver

2009-08-06 Thread djutopie
Hello everyone, I'm trying to export a map with geotiff layers but when i'm doing it the geotiff file doesn't keep tags and real values of the geotiff.. Is there a way to do it right? My code before to export (mapscript php) : $map->outputformat->set("driver","GDAL/GTIFF"); $ma

Re: [mapserver-users] Export geotiff Mapserver

2009-08-06 Thread Frank Warmerdam
djutopie wrote: Hello everyone, I'm trying to export a map with geotiff layers but when i'm doing it the geotiff file doesn't keep tags and real values of the geotiff.. Is there a way to do it right? My code before to export (mapscript php) : $map->outputformat->set("driver","GDAL/GTI

Re: [mapserver-users] How to use 01 connection for all layers in map file

2009-08-06 Thread Pavel Iacovlev
As I understood the question the fact that OpenLayers makes 17*N (N number of tiles) connections to the mapserver is a major slow down ? Here is an example of mapserver layer usage: http://openlayers.org/dev/examples/mapserver.html , so your request should be something like this: /map.map&layer=lay

Re: [mapserver-users] Export geotiff Mapserver

2009-08-06 Thread djutopie
Ok I save my image like that : $image=$map->draw(); $image_url=$image->saveWebImage(); Is this wrong to get the result I want? -- View this message in context: http://n2.nabble.com/Export-geotiff-Mapserver-tp3398616p3398793.html Sent from the Mapserver - User mailing list archive at Na

Re: [mapserver-users] Export geotiff Mapserver

2009-08-06 Thread Pavel Iacovlev
Hi Frank, djutopie, We discussed this on IRC some time ago, and PHPMapscript saveImage method does not have that "2nd" parameter to pass the map file. int saveImage(string filename) Writes image object to specifed filename. Passing an empty filename sends output to stdout. In

Re: [mapserver-users] Export geotiff Mapserver

2009-08-06 Thread djutopie
Ok cool but how to use it? like what is $theGeom? epsg code? Is there a way to keep the right values from the original geotiff, and not a pseudocolor table with values from 0 to n everytime? Thanks for your answers both. -- View this message in context: http://n2.nabble.com/Export-geotiff-Maps

Re: [mapserver-users] Export geotiff Mapserver

2009-08-06 Thread djutopie
Thanks I've did it but the bad its the only way to do that... -- View this message in context: http://n2.nabble.com/Export-geotiff-Mapserver-tp3398616p3399468.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users m

[mapserver-users] Applications developed in Java MapScript

2009-08-06 Thread joel ml
I am Developing an application in Java with the API of Mapserver, like know if they know applications already implemented in Java MapScript Yahoo! Cocina Encontra las mejores recetas con Yahoo! Cocina. http://ar.mujer.yahoo.com/cocina/___ map

[mapserver-users] FOSS4G conference: Early Bird discount closes this Friday!

2009-08-06 Thread Steve Lime
If you plan to come to Sydney, Australia for the Free and Open Source Software for Geospatial (FOSS4G) conference in October this year, then you best register right now, as early bird registration ends this Friday 7 August 2009. http://2009.foss4g.org/registration/ FOSS4G is the international

Re: [mapserver-users] How to use 01 connection for all layers in map file

2009-08-06 Thread Alphatran
I posted the question above because my website is too slow to load layers. I think the problem is too many connections for each client And I got error of connection when I tried testing with 4 clients at the same time. Then if I shutdown and start ArcSDE again, all error of connection is gone awa