[mapserver-users] Output Image Name

2011-02-22 Thread Varunesh Mishra
hey

Currently my mapserver is creating image name randomly, what changes do I
have to do in my mapscript so that it uses output image name given by me.
Please help as soon as possible

Varunesh

*My map script is given below*

MAP
NAME img
SIZE 400 300
CONFIG PROJ_LIB /usr/share/proj/
PROJECTION
proj=longlat
ellps=WGS84
datum=WGS84
no_defs
END
SYMBOLSET /var/www/ganga/symbol.sym
IMAGECOLOR 249 245 200
IMAGETYPE png
WEB
   TEMPLATE /var/www/ganga/test.html
   IMAGEPATH /var/www/ganga/output/
   IMAGEURL output/
   METADATA

   wms_srs EPSG:4326

   END
END
EXTENT 78.05 26.61 80.27 29.04
LAYER
  NAME my_shapefile
  TYPE POINT
  DATA /var/www/ganga/dolphin.shp
  STATUS default
  CLASS
STYLE
SYMBOL circle
SIZE 7
END
NAME dolphin
COLOR 0 0 0
OUTLINECOLOR 0 0 0
   END
   PROJECTION

init=epsg:4326

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


[mapserver-users] WFS Filter Encoding and resulting DB-queries

2011-02-22 Thread Stephan Holl
Hello list,

while playing with MapServer WFS Filter Encoding capabilities I found
some strange things when it comes to form the DB-queries (the
requested layer is PostGIS-driven).

It seems that there will always be a full table-scan and later on the FE
will be applied. Is this done by design?

Using URL-substitutions of the Search-keyword and apply it to a
FILTER-element the resulting SQL-query has the given WHERE-filter set.
But this opens the door for SQL-injections AFAIK. Setting the
validation pattern is a little prevention.

Are there any other ways to realize a keyword-driven search with
MapServer beside FE IsLike or FILTER-substitution?

I am using MS 5.6.5 on debian stable.

TIA

Stephan

-- 
Stephan Holl stephan.h...@intevation.de | Tel.: +49 (0)541-33 508 3663
Intevation GmbH, Neuer Graben 17, 49074 OS  |  AG Osnabrück - HR B 18998
Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


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


[mapserver-users] Status of Java MapScript?

2011-02-22 Thread Stephan Holl
Hello list,

is anybody able to share the current status of Java Mapscript? Browsing
the net mostly brings up PHP mapscript, C# or python mapscript status.

I would love to hear some user-feedback from happy (and of course
unhappy) Java mapscript-users. :-)

TIA

Stephan

-- 
Stephan Holl stephan.h...@intevation.de | Tel.: +49 (0)541-33 508 3663
Intevation GmbH, Neuer Graben 17, 49074 OS  |  AG Osnabrück - HR B 18998
Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


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


[mapserver-users] Compiling with opengl support

2011-02-22 Thread Felipe Alcacibar
Hi, i am trying to compile mapserver with the experimental opengl
support for experimental proposes too, but i cannot do it, i am using
mesa opengl, gentoo 64bits linux system and mapserver 5.6.6 but it
seems like this little problems that i cannot figure =/.
are a solution to this, i need another library, another implementation
of opengl?

mapogl.cpp: In function ‘int msPopulateRendererVTableOGL(rendererVTableObj*)’:
mapogl.cpp:225: error: invalid conversion from ‘void (*)(imageObj*,
shapeObj*, colorObj*, double, int, double*)’ to ‘void (*)(imageObj*,
shapeObj*, strokeStyleObj*)’
mapogl.cpp:242: error: invalid conversion from ‘void (*)(imageObj*,
shapeObj*, void*)’ to ‘void (*)(imageObj*, shapeObj*, imageObj*)’
mapogl.cpp:243: error: invalid conversion from ‘void (*)(void*)’ to
‘void (*)(imageObj*)’

wait for your ansewers, thanks in advice.

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


Re: [mapserver-users] Compiling with opengl support

2011-02-22 Thread thomas bonfort
Felipe,
opengl support should compile and run in the trunk version of
mapserver, you'll have to do a checkout if you want to try it out.
please report back the bugs you see ;)

--
thomas

On Tue, Feb 22, 2011 at 16:38, Felipe Alcacibar falcaci...@gmail.com wrote:
 Hi, i am trying to compile mapserver with the experimental opengl
 support for experimental proposes too, but i cannot do it, i am using
 mesa opengl, gentoo 64bits linux system and mapserver 5.6.6 but it
 seems like this little problems that i cannot figure =/.
 are a solution to this, i need another library, another implementation
 of opengl?

 mapogl.cpp: In function ‘int msPopulateRendererVTableOGL(rendererVTableObj*)’:
 mapogl.cpp:225: error: invalid conversion from ‘void (*)(imageObj*,
 shapeObj*, colorObj*, double, int, double*)’ to ‘void (*)(imageObj*,
 shapeObj*, strokeStyleObj*)’
 mapogl.cpp:242: error: invalid conversion from ‘void (*)(imageObj*,
 shapeObj*, void*)’ to ‘void (*)(imageObj*, shapeObj*, imageObj*)’
 mapogl.cpp:243: error: invalid conversion from ‘void (*)(void*)’ to
 ‘void (*)(imageObj*)’

 wait for your ansewers, thanks in advice.

 Felipe Alcacibar Buccioni
 ___
 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


Re: [mapserver-users] Status of Java MapScript?

2011-02-22 Thread Umberto Nicoletti
Hi Stephan,
I'm the mantainer of java mapscript and while I have not been working on it
for quite some time, I am stil successfully using it in a couple of projects
(one is a fairly complex webgis).

Best regards,
Umberto

On Tue, Feb 22, 2011 at 9:51 AM, Stephan Holl stephan.h...@intevation.dewrote:

 Hello list,

 is anybody able to share the current status of Java Mapscript? Browsing
 the net mostly brings up PHP mapscript, C# or python mapscript status.

 I would love to hear some user-feedback from happy (and of course
 unhappy) Java mapscript-users. :-)

 TIA

Stephan

 --
 Stephan Holl stephan.h...@intevation.de | Tel.: +49 (0)541-33 508 3663
 Intevation GmbH, Neuer Graben 17, 49074 OS  |  AG Osnabrück - HR B 18998
 Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner

 ___
 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


[mapserver-users] Heatmap / choropleth from points attributes

2011-02-22 Thread Daniel Cole
I am a new mapserver user and have spent countless hours over the last month
reading, trying code, etc. before posting here for help.  I am trying to
generate an image (non-interactive) on a webpage based off of attribute data
in a points file.  For example, 20 different points equally distributed in a
field contain data about the moister level of the soil.  I want to make the
lowest levels blue and the highest levels yellow, or something like that
with some gradients in between.  If possible I want it to have interpolated
data between them to show the gradual change, but that isn't a must.   I
also want to wrap it in a polygon that trims the edges.

I found some python code that I thought might do the trick , but it seems
lots of heat maps are based off of how many points exist in a certain area,
and thats now what I am doing.

My points contain numbers in the attributes, 5, 25, 92, 71, etc.   I feel
like I am missing some easy way to do this right in front of me with gdal or
something.  If someone has any direction or even demo code that would be
greatly appreciated.

Thanks,

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