Re: [mapserver-users] GRID - how to display labels not in degrees

2012-06-21 Thread Alexandre Dube
, -Steve W On 6/20/2012 3:16 PM, Alexandre Dube wrote: Hey Jeff, Yes, it worked without setting any interval, but that made me realize my mistake. The interval values are in degrees when using 4326, so switching to 900913 they must be in meters. Setting them to more proper values

Re: [mapserver-users] GRID - how to display labels not in degrees

2012-06-20 Thread Alexandre Dube
. Thanks, Alexandre On 12-06-20 02:41 PM, Jeff McKenna wrote: On 12-06-20 2:30 PM, Alexandre Dube wrote: Hi, Using the [GRID] object, I'm able to do a GetMap request using SRS=EPSG:900913 to display a the grid correctly reprojected, but the coordinates displayed (labels) are in degrees. When

Re: [mapserver-users] WFS GetFeature issue with MS4W

2012-06-12 Thread Alexandre Dube
Hi Eric, On 12-06-05 12:25 PM, Eric Lemoine wrote: We have finally found a solution: use a 64-bit version from http://www.gisinternals.com/sdk/ (our Windows machine is 64-bit). I'm facing the exact same problem with MS4W 3.0.3 on Windows Server 2008 RC2 64bits. I tried your solution using

Re: [mapserver-users] WFS GetFeature issue with MS4W

2012-06-12 Thread Alexandre Dube
Nevermind, my issue was something else. It was just a coincidence that I had the same environment. Regards, Alexandre On 12-06-12 11:21 AM, Alexandre Dube wrote: Hi Eric, On 12-06-05 12:25 PM, Eric Lemoine wrote: We have finally found a solution: use a 64-bit version from http

Re: [mapserver-users] WFS intersect request

2011-06-09 Thread Alexandre Dube
Hello, If you run a WFS GetCapabilities request on your server, it should tell which filters it supports, see : http://mapserver.org/ogc/filter_encoding.html#server-side Someone correct me if I'm wrong, but I think MapServer needs to be compiled with GEOS in order to do intersect

Re: [mapserver-users] layer_status always eq 0 with mode=legend and status ON

2010-12-02 Thread Alexandre Dube
Steve, I'm really not sure about this, but I think you need to specify the 'oper' parameter, as such : aszLegendArray[szGroup][nLayerId][selected] = [if name=layer_status oper=eq value=0]0[/if][if name=layer_status oper=eq value=1]1[/if][if name=layer_status oper=eq value=2]1[/if];

Re: [mapserver-users] Raster data performance

2010-07-28 Thread Alexandre Dube
On 10-07-28 09:25 AM, Tobias Weiß wrote: The major brake still is the expression stuff. I really wonder what makes this task so time-consuming, it should not be more than a simple comparison. Do you have experiences with this issue? Or do I have to live with this constraint? With vector

Re: [mapserver-users] Black background with palette

2009-12-11 Thread Alexandre Dube
Solved. For the record : http://trac.osgeo.org/mapserver/ticket/3217#comment:5 Alexandre Alexandre Dube wrote: Steve Lime wrote: Are you compiling with the experimental png support? No, but I just tried with it and it didn't resolved the issue. I noticed a slight change of the image

Re: [mapserver-users] Black background with palette

2009-12-01 Thread Alexandre Dube
Steve Lime wrote: Are you compiling with the experimental png support? No, but I just tried with it and it didn't resolved the issue. I noticed a slight change of the image quality though. Thanks, -- Alexandre Dubé Mapgears www.mapgears.com

[mapserver-users] Black background with palette

2009-11-30 Thread Alexandre Dube
Hi, == problem == I'm pretty sure I saw this problem on the list somewhere, but I couldn't find the actual thread so here it is : while using agg palette option, when there's no data to draw, instead of having the backgroundcolor drawn it's all black instead. How can I go around this

Re: [mapserver-users] Black background with palette

2009-11-30 Thread Alexandre Dube
transparent and I have seen that come up as black in some cases. -Steve W Stephen Woodbridge wrote: Alexandre, Do you have IMAGECOLOR #00 set at the MAP level? Also I would put the background color as the first color in the mypalette.txt file and see if that helps. -Steve W Alexandre Dube

Re: [mapserver-users] strategy BBox

2009-08-13 Thread Alexandre Dube
Hi, This question is more related to OpenLayers. Use the WFS protocol instead in your vector layer, see the source of this example (1). Regards, Alexandre (1) http://openlayers.org/dev/examples/wfs-protocol.html YOUNESS ELMEDRAOUI wrote: Hi, plz, how can i use BBox strategy with a wfs

Re: [mapserver-users] Highlighting a feature

2009-08-04 Thread Alexandre Dube
I'm sorry. I didn't take the time to read from which Mailing List your e-mail was from. My last e-mail was referencing to the OpenLayers API. Again, sorry. Alexandre padma priya wrote: Hi Can anyone give me pointers as to how to highlight a specific feature on a WMS layer. I have a layer

Re: [mapserver-users] how to retrieve 2 records at the same point with getfeatureinfo

2009-07-24 Thread Alexandre Dube
Hi, Have you tried the FEATURE_COUNT (1) property in your request ? Regards, Alexandre (1) http://webhelp.esri.com/arcims/9.2/general/mergedProjects/wms_connect/wms_connector/get_featureinfo.htm Markus Spring wrote: Hi list, I have a shapefile with 2 points at the same location.

Re: [mapserver-users] Multi layer/class : performance

2009-06-15 Thread Alexandre Dube
Of Alexandre Dube Sent: Friday, 12 June 2009 11:21 PM To: MAPSERVER USERS Subject: [mapserver-users] Multi layer/class : performance Hi, I wonder which of theses two cases is better : CASE 1 : Multi layer : Define one layer per scale with minscale and maxscale, each having one set of classes

Re: [mapserver-users] Non stoping generation

2009-06-02 Thread Alexandre Dube
Hi, That looks like a TileCache problem. Try the TileCache mailing list. Do you use a MapServerLayer in your tilecache.cfg ? If so, use WMSLayer instead. Alexandre Nelson Branco wrote: I have a problem generating a few images, tiles with TileCache, that run “forever” until Web server

Re: [mapserver-users] Really general question about Mapfiles and GetMap requests

2009-05-29 Thread Alexandre Dube
Hi, Robert Hicks wrote: In a GetMap request what are the arguments 'height' and 'width' measured in? Pixels? Yes, it's in pixels. Also what does changing RESOLUTION and SIZE in a mapfile actually do? http://mapserver.org/mapfile/map.html See RESOLUTION and SIZE If you use the

[mapserver-users] WMS Layer with secure http url

2009-05-05 Thread Alexandre Dube
Hi list, I'd like to know if it's possible to have a WMS layer linked to a secure http url (https). Currently, I see this error in log : === LOG === [Tue May 5 18:53:01 2009].853725 msHTTPExecuteRequests(): HTTP request error. HTTP: request failed with curl error code 60 (SSL certificate

Re: [mapserver-users] WMS/WFS layer in GMap

2009-03-26 Thread Alexandre Dube
Hi, For client : http://mapserver.org/ogc/wms_client.html http://mapserver.org/ogc/wfs_client.html For server : http://mapserver.org/ogc/wms_server.html http://mapserver.org/ogc/wfs_server.html Regards, Alexandre rohan phatak wrote: Hello friends, I am using GMap application of map server

Re: [mapserver-users] Database connection in postgresql

2009-03-03 Thread Alexandre Dube
rohan phatak wrote: Hello friends, I am using map server application in which i am displaying my map in web browser. I am creating button in that browser and on that button i want to attach my database connection means if i click this button the database/tables should be open so

Re: [mapserver-users] showing blank page

2009-02-24 Thread Alexandre Dube
Hi, Put this in your MAP section : CONFIG MS_ERRORFILE /tmp/mymapfileerror.log and this in your LAYER section : DEBUG 5 Load your url and go see what the error log has to say. You can also check your apache and error logs. Regards, Alexandre kmanoj-pg7 kmanoj-pg7 wrote: Dear

Re: [mapserver-users] Edit mode in mapserver

2009-02-20 Thread Alexandre Dube
: Hi there, Hopefully, it IS possible to edit features with MapServer / MapScript. You have to write your own functions. It works great. Regards Blaise On Friday 20 February 2009 21:04, Alexandre Dube wrote: Hi Rohan, It is not possible to edit features with MapServer. You might want

[mapserver-users] Re: [OpenLayers-Users] WFS Server Control output by scale?

2009-02-06 Thread Alexandre Dube
Hi Stephen, Like Eric said, using minScale and maxScale in your layer options should do what you're want to do. I also had a similar problem trying to display vector polygons at small scales ( like 1:1300 ). Here's what I did : - I determined fixed scales to work with - I normalized my

Re: [mapserver-users] Any way to measure between two picked points?

2009-02-05 Thread Alexandre Dube
Hi, I don't have a direct solution to your problem. I rather have propositions. You could use a client-side application like Chameleon (1) or Openlayers (2). Both have that kind of tool already, see one in Openlayers (3). You could also check their code to custom your own in your html

Re: [mapserver-users] Problem with transparency overlays

2009-01-30 Thread Alexandre Dube
Hi Rafael, Here's what the doc has to say about the TRANSPARENT option in the MAP object : TRANSPARENT [on|off] Use FORMATOPTION “TRANSPARENT=ON” in the /OUTPUTFORMAT/ http://mapserver.org/mapfile/outputformat.html#outputformat declaration to specify if the output images should be

Re: [mapserver-users] Openlayers Mapserver

2009-01-22 Thread Alexandre Dube
, are used with WMS layers. MapServer layers must be separated by spaces : layer = new OpenLayers.Layer.MapServer( United States, http://localhost/cgi-bin/mapserv http://localhost/cgi-bin/mapserv?us_states.map, { map: /path/to/your/map/us_states.map, layers:

Re: [mapserver-users] Show WFS layer

2009-01-13 Thread Alexandre Dube
Maybe this could help : http://faq.openlayers.org/wfs/ Best of luck, Alexandre Peesjee wrote: Hi, i'm new to Mapserver, i succesfully added a WMS layer from a shapefile, but now i want to add a WFS layer that connects to my Sybase (via ODBC). I followed the doc on Virtual Spatial data. This

Re: [mapserver-users] Problems With Google Earth WMS view

2008-10-23 Thread Alexandre Dube
Hi David, can define a resolution for the output image? No, but your can change the image size ( height and width ) in your GE Link. Default values are 512 X 512. You could change those to 1024 X 1024 and you'll get a nicer image. problems with transparency on different zoom level

Re: [mapserver-users] WMS in Google Earth

2008-10-03 Thread Alexandre Dube
Of Alexandre Dube Sent: 02 October, 2008 4:40 PM To: MAPSERVER USERS Subject: Re: [mapserver-users] WMS in Google Earth Back with my local WMS on GE problem. I think it has something to do with the wms_onlineresource in WEB METADATA. I downloaded the gmap datas, which are already in GE

Re: [mapserver-users] WMS in Google Earth

2008-10-03 Thread Alexandre Dube
Tom, The log told me : SERVICE parameter missing... I must have done something wrong with my first attempt because now it's working if I add service=WMS in the Link string. Thank you very much, Alexandre Alexandre Dube wrote: OK, I'll try that. Many thanks, Tom Alexandre Kralidis

Re: [mapserver-users] WMS in Google Earth

2008-10-02 Thread Alexandre Dube
/gmap75_wms.map; and then I doesn't work anymore... also tried : http://127.0.0.1:port/cgi-bin/mapserv?; no result... I must be close the the answer. I have searched a lot over the internet but I haven't found anything yet. Any hints ? Alexandre Alexandre Dube wrote: Hi list, I'm trying

Re: [mapserver-users] FastCGI on IIS6 - how to test ?

2008-08-15 Thread Alexandre Dube
Hi James, I already did many tests a couple of months ago to see if fastCGI was worth the efforts, and as soon as it worked, I noticed a good difference of performances. The map loaded much faster. At the bottom left of my internet browser, files transfered from the server were

Re: [mapserver-users] v5.0.0 - CLASSITEM has double quote in field value

2008-07-18 Thread Alexandre Dube
Hi Mike, I'm not sure about that, but try eq instead of = EXPRESSION ('[TRAFFIC_TYPE]' eq 'Lane Closure' OR ... Best Regards, Alexandre Mike Saunt wrote: Hi All I've got a MapFile that used to work fine in v4.10 but now fails in v5.0 Basically the CLASSITEM field has double quote in

Re: [mapserver-users] v5.0.0 - CLASSITEM has double quote in field value

2008-07-18 Thread Alexandre Dube
? Cheers Mike 2008/7/18 Alexandre Dube [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Hi Mike, I'm not sure about that, but try eq instead of = EXPRESSION ('[TRAFFIC_TYPE]' eq 'Lane Closure' OR ... Best Regards, Alexandre Mike Saunt wrote: Hi All I've got