What's the state of the XML mapfile? Could one create their mapfile in
an XML editor to generate a syntactically valid mapfile (through xslt)
then use shp2img to verify data connections?
On 5/15/2012 11:57 AM, Lime, Steve D (DNR) wrote:
Shp2img already provides this capability and is more
This may or may not be relevant but reading RFC 68 got me wondering.
I have an application that has shape file data for lakes. There are
different shapefiles for data with higher accuracy that are used with
scale ranges so that only one is drawn at a time. Specifically
something like lakes_1_1m,
into account when accessing the source layers, by
using a minor change.
BTW: How the legend is drawn in your case? As far as I know mapserver
draws only the layers in the scale range by default.
Best regards,
Tamas
2011/5/14 Josh Hevenor jheve...@rogers.com mailto:jheve...@rogers.com
Hi Sebastian
Take a look at the queryByPoint function found here
http://mapserver.org/mapscript/php/index.html#layerobj
Hope this helps,
Josh
On 9/16/2010 7:35 AM, Sebastian E. Ovide wrote:
Hi All
I have a OGR Layer. Is there any service that I can use to retrieve
all the polygons from that
I think I'm missing something obvious here.
I'm using PHP mapscript and I have two points (epsg:4326). I want to
measure the distance between the two points and get the result in
meters. I've come at it a couple ways and I'm definitely getting
degrees returned. Well, I think I'm just getting the
I think I came across the same thing, or something related, when I was
trying to generate KML using mapserver templates. I know I ended up
recreating the class expression in my output instead of using the
[shpclass] variable. Let me know if a bug is filed and I'll work up an
example to submit.
Error:
I was adding new fields to an Oracle Spatial layer, now having 61 fields
defined with
geom from (select * from spatialTable) using ...
Process
$layer-qryByRect
$layer-open
For()
$res=$layer-getResult
$shp=$res-getShape// Fails, line 637
Error
the directive CONFIG MS_ERRORFILE /tmp/mapserver.log to redirect
the logs in a file.
Alan
On December 16, 2009 12:21:26 pm Josh Hevenor wrote:
Error:
I was adding new fields to an Oracle Spatial layer, now having 61 fields
defined with
geom from (select * from spatialTable) using
It might not be what you're looking for, but you can define your layer as
geom from (select a, b, c, to_char(the_date, 'format') from osTable)
using...
Josh
Martin Ouellet wrote:
Hi,
I've got a GetFeatureInfo which return a date (in my template). Since
we don't control the sql statement
I have a couple raster layers (ECW) and I'm trying to get the extent
using php mapscripts' layer-getExtent method. I don't get an error on
the call but when I try to use the resulting rectObj (eg.
$rectRasterExtent-minx) I get an error trying to access a non-object.
Does this function work on
Worked perfectly. Thanks!
Dan Little wrote:
Add the EXTENT directive under the LAYER definition...
LAYER
... stuff ...
EXTENT MINX MINY MAXX MAXY
... stuff...
END
- Original Message
From: Josh Hevenor jheve...@rogers.com
To: mapserver-users mapserver-users
http://mapserver.org/mapscript/php/index.html#shapeobj-class
The second constructor will build this for you...
ShapeObj ms_shapeObjFromWkt(string wkt)
Or if you have a spreadsheet you could look at adding the whole thing to your
mapfile, or converting it to shapefile (etc.) with ogr2ogr.
I'm wondering if anyone has had success viewing their mapserver WMS
services through Google Earth? I can manually enter a GetMap request and
see the image but when I try to list my layers in the Refresh-WMS
Parameters section I get an error message stating that This MWS server
has no layers which
Earth. It
probably has something to do with the image type not being supported or
wms parameters missing.
If you want me to help you can send me the metadata and the map section
snippets of your mapfile.
Josh Hevenor schreef:
I'm wondering if anyone has had success viewing their mapserver
template used to represent multiple layers. Let me know if you need an
example.
Steve
Josh Hevenor jheve...@rogers.com 09/01/09 6:21 PM
I've been using the ogr2ogr kml exporter to build some nightly conversions
of shape data. I'm wondering if there's a way to include
I've been using the ogr2ogr kml exporter to build some nightly conversions
of shape data. I'm wondering if there's a way to include symbolization
here...something that accepts a mapfile and a layername (or just a
mapfile, or whatever) and exports kml.
Alternatively, I've used the ArcObjects 9.3
. If there's something like this on the go
already, let me know how I can help.
Thanks,
Josh Hevenor
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
to support an update to this in
whatever way I can.
Thanks,
Josh Hevenor
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Dear List,
I'm updating a spatial querying tool that follows a process something like:
1. Select set of shapes from layer A with n results: A[1-n]
2. Find shapes from layer B that within buffer distance D of selected shapes
from A[1-n]
In the existing code we get a result set of A[1-n],
Hi there,
With my oracle spatial layers I use
connection uui/[EMAIL PROTECTED], where the dbname is setup on your server
using the oracle clients 'Net Manager'.
Hope this helps,
Josh Hevenor
___
mapserver-users mailing list
mapserver-users
/StyleList
/Layer
So this should take care of the client end...If I can find that mapfile
again I'll pass along the WMS definition also.
Hope this helps,
Josh Hevenor
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org
Excellent
EXPRESSION excellent
STYLE
SYMBOL 'circle'
SIZE 15
COLOR 0 255 0
END
END
END
Hope that helps,
Josh Hevenor
___
mapserver-users mailing list
mapserver-users
22 matches
Mail list logo