Re: [mapserver-users] Re: GeoRaster via gdal on Ubuntu

2010-08-12 Thread Sebastian E. Ovide
Hi All, problem solved rebuilding MapServer and using the new build thanks On Wed, Aug 11, 2010 at 4:09 PM, Sebastian E. Ovide sebastian.ov...@gmail.com wrote: yes, the mapserv is readin gthe wrong lib... I have just added those PassEnv... Location /cgi-bin/

[mapserver-users] Offset values from database

2010-08-12 Thread Wim Vanbelle
Hi, I'm trying to load offset X, Y data from the postgis database. Each feature has an offset value defined there. My mapfile (relevant part) looks like this: In the layer: DATAgeom_mercator from map_links using unique Id using SRID=900913

RE: [mapserver-users] Offset values from database

2010-08-12 Thread Fawcett, David (MPCA)
Wim, If you don’t want me to tell you, you will likely want to look at the mapfile documentation at: http://mapserver.org/mapfile/style.html [Spoiler Alert] You can’t use values from an attribute table to set the value of this property [/Spoiler Alert] David. From:

Re: [mapserver-users] Offset values from database

2010-08-12 Thread Wim Vanbelle
Hi David, I read that documentation before though. I was hoping it just hadn't been updated... Is this possibly a feature for 6.0 ? Are there any other ways how one could offset a feature in pixels, rather than in lat/long coords? Maybe I should elaborate on the original problem a little.

Re: [mapserver-users] Offset values from database

2010-08-12 Thread Wim Vanbelle
Maybe this pic helps elaborate on what i'm trying to accomplish: http://fileshare.myroute.be/exchange/asymmetriclinedrawing.png It should be noted that the distance between the 2 (new) lines, should be a fixed value over the zoomlevels. It must not be the case that at the furthest zoomlevel the

RE: [mapserver-users] Offset values from database

2010-08-12 Thread Fawcett, David (MPCA)
Wim, You can do these offsets in pixel values at a class level, just not a feature level. This pretty much does what you are describing, although it gets a little funky when the lines are diagonal and not straight. CLASS STYLE COLOR 0 0 0 WIDTH 2

[mapserver-users] GDAL with MrSID

2010-08-12 Thread Eric Weisbender
Where can I find a version of GDAL with MrSID capablities or do I have to recompile my existing GDAL with the MrSID sdk. Thanks, EW ___ mapserver-users mailing list mapserver-users@lists.osgeo.org

RE: [mapserver-users] GDAL with MrSID

2010-08-12 Thread Fawcett, David (MPCA)
Eric, You didn't mention what platform you are on. For Windows, the MS4W package has built-in support: http://www.maptools.org/ms4w/ It looks like OSGEO4W also has built-in support: http://trac.osgeo.org/osgeo4w/wiki/PackageListing William's rockin FOSS4G binaries of OSX include MrSID support:

Re: [mapserver-users] Offset values from database

2010-08-12 Thread thomas bonfort
the -99 is a special offset value that shifts the line as you are looking for. style color 255 0 0 offset -2 -99 width 2 end style color 0 255 0 offset 2 -99 width 2 end not perfect as there are artifacts on sharp angles, but worth a try. regards, thomas On Thu, Aug 12, 2010 at

RE: [mapserver-users] Offset values from database

2010-08-12 Thread Fawcett, David (MPCA)
Thanks Thomas That looks nice in my test example. David. -Original Message- From: thomas bonfort [mailto:thomas.bonf...@gmail.com] Sent: Thursday, August 12, 2010 10:45 AM To: Fawcett, David (MPCA) Cc: Wim Vanbelle; mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Offset

Re: [mapserver-users] Offset values from database

2010-08-12 Thread Wim Vanbelle
Thank you very much everyone. And especially Thomas. That was indeed what I was looking for. You saved me a lot of work! Much appreciated. On 12 August 2010 17:50, Fawcett, David (MPCA) david.fawc...@state.mn.uswrote: Thanks Thomas That looks nice in my test example. David. -Original

[mapserver-users] What's wrong with Path Relative?

2010-08-12 Thread elisabeth theresia
Hi all helpers, it makes me confuse when i used http://localhost/cgi-bin/mapserv.exe?map=i:/Spatial/mapfile/kec_lbl.maplayers=allmode=map it appear the map (with absolute path) then, when i change folder (Chameleon framework) and change mapfile withRelative Path and checking :

Re: [mapserver-users] Offset values from database

2010-08-12 Thread Bob Basques
All, Wondering, would this work for INSIDE/OUTSIDE situations with regard to polygon drawing? Or is the left/right sides of the line strictly relying on the from/to aspects of how the polygon was drawn (clockwise/counterclockwise) This would be handy for off-setting to (ONLY) the inside of a

[mapserver-users] Re: What's wrong with Path Relative?

2010-08-12 Thread elisabeth theresia
Already solved. just add sign '/' in the end of CWC2 CWC2 TYPE=MapDHTML VISIBLE=true WIDTH=384 HEIGHT=204 ALLOWRESIZE=true MARQUEECOLOR=#FF MARQUEEWIDTH=2 MINSCALE=1/ Thanks God Cs, All :D From:

[mapserver-users] need suggestions to implement simple dynamic zoom, pan select capabilities?!!

2010-08-12 Thread mani2604
hi there... I've been using phpmapscript for on-the fly query displaying the resultant images... Now that I've got this problem that I tried using both mscross openlayers to display the image but somehow I cud not work it out.. I mean in both the above frameworks we need to specify