Hi,
Usign the templating capabilities of mapserver.
I need the parameters [mapx] and [mapy] will return the coordinate of a
clicked point.
I possible in the templates set semothing to have this coordinates [mapx],
[mapy] in a different
SRS ?
I see there is the [maplon] and [maplat] parameter.
But
On 12-09-07 1:21 AM, Ian Walberg wrote:
> Is there a way of doing the equivalent of ./mapserv –v with php or
> php_mapsript.so?
A very easy way to see PHP build information (including mapscript
details) is to go to the commandline and simply call 'php -i'
Have a good Friday everyone.
-jeff
Ubuntu package is available for precise in testing PPA:
https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing/+packages?field.name_filter=&field.status_filter=published&field.series_filter=precise
Alan
On 12-09-06 02:07 PM, thomas bonfort wrote:
The MapServer Team is pleased to announce
Just in case anyone else needs this here is the working map file.
MAP
NAME 'Simple'
STATUS ON
SIZE 640 480
EXTENT -121 32 -100 45
UNITS MILES
SHAPEPATH "shp"
IMAGECOLOR 40 40 40
IMAGETYPE PNG
CONFIG "MS_ERRORFILE" "c:/ms4w/Apache/htdocs/mapserver.log"
I looked at the documentation because I haven't used in a while. The docs
aren't clear, but seem to imply that MAPXY should return coordinates in the
same spatial reference system as the layer that you are querying.
I kind of think that they should be in the spatial reference system of the map.
Hi All,
I've been testing today in Python, trying to get a MapScript imageObj into an
python Image object. This works via the following code:
map.transparent = MS_ON
map.selectOutputFormat('png8')
map.outputformat.imagemode = MS_IMAGEMODE_RGBA
map.outputformat.tr
IIRC, PIL does not support 8bit pngs with transparency, so writing it
to a file won't help. If you need alpha, you'll have to stick with
32bit pngs.
--
thomas
On Fri, Sep 7, 2012 at 3:35 PM, Jelmer Baas wrote:
> Hi All,
>
> I've been testing today in Python, trying to get a MapScript imageObj in
Oh, wow, that was so simple. I changed
map.selectOutputFormat('png8')
to
map.selectOutputFormat('png24')
And done. Strangely, though, saving it to a file and re-opening *does* work!
Thanks for the quick reply!
--
Jelmer
-Original Message-
From: thomas bonfort [mailto:thomas.bonf...@gma
Assuming you're sending the request in pixels, along with a map extent,
MapServer will convert the point based on the SRS of the extent you passed. I'm
thinking that won't get you what you want and I'm not sure of a way to do so.
The various extent tags have projection capabilities built in but
Eric,
Thanks for reporting this because I have to dive into doing the same
shortly.
I would suggest that OpenLayers is where the problem is because it is
generating the XML that is going to TinyOWS. I have not looked into this
specific issue but in general OL is pretty flexible and you might
A beta3 Windows package is also available now for testing:
http://www.maptools.org/ms4w/index.phtml?page=RELEASE_mapserver_ms4w3.x_dev-6.2.0.html
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
___
Hello list
Wondering if anyone can help…
We have been utilising the legendicon mode to create a custom legend in our
application, however some recent work to try and speed up our WMS has reworked
our mapfiles slightly, making use of GROUP LAYERs to group almost identical
LAYERs together, the o
All,
I've gotten around this in the past by using dummy layers specifically for
Legend Creation. You have complete control over the legend this way and can
mix and match data sources however is required without needing to actually map
the data out. It is more work overall, but if your MapFile
Legend icon only works with layers. Groups are just too ambiguous to uniquely
identify the class to be rendered. Groups don't have to be organized by scale
ranges. Often they link related layers, for example a bunch of road feature
types. I think It would be possible to add support to see if a
Thanks a lot Peter for your kind help
Extracting mapserv6.rpm, i got a 1.3 MB file. Now, i'm gonna test it on the
server.
Thanks again
From: Peter Hopfgartner
To: mapserver-users@lists.osgeo.org
Sent: Thursday, September 6, 2012 12:22 PM
Subject: Re: [ma
Indeed, it appears it should be straightforward to resolve this from the
OL end.
I have just summoned the help of the "OpenLayers-User mailing list"
gurus about this. Refer to the thread over there for further information.
Thanks,
Eric
On 09/07/2012 11:57 AM, Stephen Woodbridge wrote:
Eric,
T
16 matches
Mail list logo