Note DUMP TRUE has not been used since v6.
Now its OWS_ENABLE_REQUEST Requesttype
Mike
--
Michael Smith
Remote Sensing/GIS Center
US Army Corps of Engineers
On 6/9/15, 2:26 PM, Jeff McKenna jmcke...@gatewaygeomatics.com wrote:
On 2015-06-09 2:37 PM, Bistrais, Bob wrote:
I can¹t seem to
Francisco,
Change your DATA statement to be : DATA MI_SHAPE FROM CONSEJOSPOPULARES using
SRID 4326
Eg, remove the = sign.
Mike
Michael Smith
US Army Corps
Remote Sensing GIS/Center
michael.sm...@usace.army.mil
From: Francisco Salas Rosette
A
steve.tout...@inspq.qc.camailto:steve.tout...@inspq.qc.ca
steve.tout...@inspq.qc.camailto:steve.tout...@inspq.qc.ca, Smith, Michael
ERDC-RDE-CRREL-NH
michael.sm...@erdc.dren.milmailto:michael.sm...@erdc.dren.mil
cc
MapserverList OSGEO
mapserver-users
) = 2014) WHERE ( LONG_STAT =
-61.00,8031.00 ) AND SDO_FILTER( GEOM_POIN, MDSYS.SDO_GEOMETRY(2003,
:srid, NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),:ordinates
),'querytype=window') = 'TRUE'
The problem is
WHERE ( LONG_STAT = -61.00,8031.00 )
Smith, Michael ERDC-RDE-CRREL-NH
Steve,
Rerun this with DEBUG 3 on the LAYER and the generated SQL will show up in your
error logs. Then it should show why the generated sql is not valid.
Mike
--
Michael Smith
Remote Sensing/GIS Center
US Army Corps of Engineers
___
mapserver-users
an issue?
Smith, Michael ERDC-RDE-CRREL-NH
michael.sm...@erdc.dren.milmailto:michael.sm...@erdc.dren.mil
2015-05-19 12:24
A
steve.tout...@inspq.qc.camailto:steve.tout...@inspq.qc.ca
steve.tout...@inspq.qc.camailto:steve.tout...@inspq.qc.ca
cc
Rahkonen Jukka (MML)
jukka.rahko
It looks like whats happening is that’s being converted into 3 Tokens and the
oracle driver converts it into a number + comma + number.
The tokenizer is not treating that value as a single value.
Mike
--
Michael Smith
Remote Sensing/GIS Center
US Army Corps of Engineers
AND matchCase=false
using this value -64,225
PotsGis: not tested
Oracle: it fails...matchCase must be set to true
Is there a reason why, with oracle, matchCase should be set to true when using
numeric value, or that could be fixed?
Regards
Steve
Smith, Michael ERDC-RDE-CRREL-NH
michael.sm
decimals are separated by a comma or a dot?
Smith, Michael ERDC-RDE-CRREL-NH
michael.sm...@erdc.dren.milmailto:michael.sm...@erdc.dren.mil
2015-05-13 18:53
A
steve.tout...@inspq.qc.camailto:steve.tout...@inspq.qc.ca
steve.tout...@inspq.qc.camailto:steve.tout...@inspq.qc.ca, thomas
Steve,
I tested this out with 7.1 with numeric type fields and it works for me as long
as I don't use matchCase=false. That seems to kick it in to a string
comparison. matchCase=true and just PropertyIsEqualTo work fine.
In our metadata we use gml_types auto when the database knows the types
One side note, you can set
wfs_compute_number_matched false
In the LAYER METADATA section to disable this.
See http://mapserver.org/development/rfc/ms-rfc-105.html for details.
Michael Smith
US Army Corps
Remote Sensing GIS/Center
michael.sm...@usace.army.mil
From:
. For mssql there
has been a patch applied, for postgis it is not needed yet.
On 12 February 2015 at 08:48, Smith, Michael ERDC-RDE-CRREL-NH
michael.sm...@erdc.dren.mil wrote:
No, MapServer respects the feature order. Using the ORDER BY with a
database connection, MapServer will draw features
No, MapServer respects the feature order. Using the ORDER BY with a
database connection, MapServer will draw features in that order.
Mike
--
Michael Smith
US Army Corps
Remote Sensing GIS/Center
On 2/12/15, 7:52 AM, Eichner, Andreas - SID
andreas.eich...@sid.sachsen.de wrote:
I'm not sure
Lars,
A WMS map can support multiple SRS's. Just list all the ones you want in the
METADATA block. Look at http://mapserver.org/ogc/wms_server.html and
specifically the Map PROJECTION and wms_srs metadata. From the example, you can
see that 2 SRS's are supported.
METADATA
wms_title
Ahmet,
You can use shp2img to test geojson outputformat. Just use the -i switch
to set to your named output format.
Mike
From: Ahmet Temiz ahmettemi...@gmail.com
Date: Saturday, January 10, 2015 at 11:58 AM
To: mapserver-users mapserver-users@lists.osgeo.org
Subject: [EXTERNAL]
The line in MapServer to show Z_M support is SUPPORTS=POINT_Z_M.
Here's an example that shows WFS output with Z Values:
http://geo.usace.army.mil/cgi-bin/wms/nldwfs?service=wfsversion=1.1.0requ
est=getfeaturetypename=leveesclosurestructurelnmaxfeatures=10outputforma
t=gml3d
Note that this uses a
Dietmar,
Make sure your IMAGEURL is set to a Fully Qualified URL. Otherwise mapserver
will not set the full URL to your point images.
Mike
--
Michael Smith
US Army Corps
Remote Sensing GIS/Center
From: Dietmar Stolz dietmar.st...@freenet.demailto:dietmar.st...@freenet.de
Date: Thursday,
://localhost/gistemp/54ae5c24_4474_0.png/href
/Icon
/IconStyle
/Style
I can fetch the icon via browser.
The icon is rendered but the image itself is blank.
Dietmar
Am 08.01.2015 um 13:09 schrieb Smith, Michael ERDC-RDE-CRREL-NH:
Dietmar,
Make sure your IMAGEURL is set to a Fully
Lars,
Could you add a gdal layer into mapserver and use gdal to make the wfs
1.1.0 request?
Mike
--
Michael Smith
US Army Corps
Remote Sensing GIS/Center
On 12/23/14, 12:15 PM, Lars Fricke lars.fri...@skendata.de wrote:
Well at least now I know.
Thanks for both of your effort.
Cheers
lars.fri...@skendata.de wrote:
Hello Michael,
I'm not sure I understand what you mean?
Best
Lars
Am 23.12.2014 um 18:19 schrieb Smith, Michael ERDC-RDE-CRREL-NH:
Lars,
Could you add a gdal layer into mapserver and use gdal to make the wfs
1.1.0 request?
Mike
I'm using apache basic auth to filter results. I have been able to use
mod_rewrite to create a cookie with the authenticated username and use that in
runtime subst but it would be much simpler and cleaner to just do it reading
the environment variable. So far, I haven't found a way to do this
Bob,
If you want to keep * in the select, you have to alias the table name and add
that to the *.
Eg,
DATA the_geom from (
select
distinct on (vname) vname,
st_length(st_transform(the_line, 26993)) as
A recent change to clusters were to replace the colon (:) with a
underscore (_). Use Cluster_FeatureCount as the variable.
This change was made as the colon made it invalid gml.
Mike
On 11/12/14, 10:21 AM, Leehan mathias.cuna...@inrap.fr wrote:
I am experiencing an issue using cluster with
You also have to make sure that the IMAGEURL is a full web URL not just a
path.
Mike
On 10/16/14, 8:56 AM, Eichner, Andreas - SID
andreas.eich...@sid.sachsen.de wrote:
Never used it but it seems the KML driver creates PNG images on the fly
and returns them as href. This seems to be independent
Steve,
Does
“gml_types” “auto
not work for you?
Mike
--
Michael Smith
Remote Sensing/GIS Center
US Army Corps of Engineers
From: steve.tout...@inspq.qc.camailto:steve.tout...@inspq.qc.ca
steve.tout...@inspq.qc.camailto:steve.tout...@inspq.qc.ca
Date: Friday, October 10, 2014 at 12:14 PM
Robert,
You need to set a single value in your mapfile projection block and then
set the list of allowed projections in your map web metadata block.
http://mapserver.org/ogc/wms_server.html#setup-a-mapfile-for-your-wms
Basically you need this part
WEB
...
METADATA
wms_title
I would recommend the UTF Grid approach.
http://mapserver.org/development/rfc/ms-rfc-93.html or
On 9/9/14, 6:35 AM, Basques, Bob (CI-StPaul)
bob.basq...@ci.stpaul.mn.us wrote:
All,
It's probably not the cleanest way to approach it, but maybe a straight
imagemap type approach. You use the
Note that the current Wiki entry is here:
https://github.com/mapserver/mapserver/wiki/MapServer-TILEINDEXes-with-Database-RASTERS
And when you do get this working, please update this for the other PostGIS
users.
Mike
--
Michael Smith
US Army Corps
Remote Sensing GIS/Center
From: Rahkonen
: Smith, Michael ERDC-RDE-CRREL-NH [mailto:michael.sm...@erdc.dren.mil]
Sent: 03 April 2014 13:48
To: Andrew Parry;
mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
Subject: Re: [EXTERNAL] [mapserver-users] WMS GetFeatureInfo and Oracle 3D
geometries
Andrew,
This is possible
Andrew,
This is possible. You do need to do several things.
1. Mapserver needs to be compiled with USE_POINT_Z_M
2. You need to use an OGR output format
3. You need to define the output as a 2.5D geometry type, eg, if its a point
then define the ows/wfs_geometry type as Point25D. See
Jakub,
What you have to do is disable the use of the spatial index (since you are
defining this on the fly, there will be no index).
DATA shape FROM (select MDSYS.SDO_GEOMETRY(2001, NULL,
MDSYS.SDO_POINT_TYPE(table.x, table.Y, NULL), NULL, NULL) AS shape from table)”
USING NONE
See
The 2.5D output does work correctly with Oracle Spatial (3D) input.
Mike
--
Michael Smith
US Army Corps
Remote Sensing GIS/Center
On 3/3/14, 4:20 AM, Guillaume Sueur no-re...@neogeo-online.net wrote:
OK, got it, but actually no need of MapServer to do that. zip is enough
:-)
Le
On linux,
exportfs -f
run on the server will often refresh a lost nfs connection.
Mike
--
Michael Smith
US Army Corps
Remote Sensing GIS/Center
On 2/20/14, 2:18 PM, Stephen Woodbridge wood...@swoodbridge.com wrote:
On 2/20/2014 1:56 PM, Travis Kirstine wrote:
We are running mapcache in
Tom,
You can do it with OGR Output formats. For example
http://geo.usace.army.mil/cgi-bin/wms/nldwfs?service=wfsversion=1.1.0requ
est=getfeaturetypename=leveesclosurestructurelnmaxfeatures=10outputforma
t=gml3d
You need to create an OGR outputformat (GML) which specifies the 25D
geometry type,
Peter,
You can use OGR outputformats. Add something like this to your mapfile
OUTPUTFORMAT
NAME geojson
DRIVER OGR/GEOJSON
MIMETYPE application/json; subtype=geojson
FORMATOPTION STORAGE=stream
FORMATOPTION FORM=SIMPLE
END
Add to your LAYER or MAP METADATA, wfs_getfeature_formatlist”
James,
The mapcache demo page makes an external call to the OpenLayers site to
load the javascript library (http://www.openlayers.org/api/OpenLayers.js).
Are you on a network that has external access? If not, that would be your
problem. If you do, take a look in something like the Web Developer
Steve,
You can also do some kind of preprocessing. Generate your mapfile from a
script. The Scribe syntax may be quite useful for you
(http://www.mapgears.com/en/blog/archive/2013-03-12-scribe and
https://github.com/solutionsmapgears/Scribe). Then just run the scribe
python script and you can
Paul,
What is your WMS Request? And what does your GetCapabilities look like?
MapServer might have renamed (added _1) to your TestMap layer name because your
map is named TestMap. Layer names are also case sensitive.
Mike
--
Michael Smith
US Army Corps
Remote Sensing GIS/Center
From:
Jukka,
Its a web app.
Mike
--
Michael Smith
US Army Corps
Remote Sensing GIS/Center
On 9/21/13 10:56 PM, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote:
Hi,
Does such a thing exist?
-Jukka Rahkonen-
___
mapserver-users mailing list
I recommend using the EZConnect syntax
User/pass@host:port/service_name
Or if port is 1521 then just
User/pass@host/service_name
On 7/30/13 9:24 AM, Jeff McKenna jmcke...@gatewaygeomatics.com wrote:
For MS4W, I use the following syntax:
#Direct through OracleSpatial
CONNECTIONTYPE
Robert,
Real hasn't worked for me, it may be a doc bug.
Try Double and Integer. This is what I'm using on Mapserver 6.
gml_file_size_type integer
gml_id_type integer
gml_x_type double
gml_y_type double
Mike
--
Michael Smith
US Army
Mark,
What I used is the following
gdaldem hillshade ${filename}.tif ${filename}_hs.tif -z 5 -az 90
gdaladdo -r average ${filename}_hs.tif 2 4 8 16 32
gdaldem color-relief ${filename}.tif colorramp.txt ${filename}_cr.tif -co
compress=jpeg -co PHOTOMETRIC=YCBCR -co tiled=yes
gdaladdo -r average
Andrea,
What I do is set the default_idvalue to 1=1 and change the filter to
FILTER %idvalue%. Then the cgi value is something like idvalue=id=1
Your valididation regex becomes more complex though.
Mike
--
Michael Smith
US Army Corps
Remote Sensing GIS/Center
On 2/23/13 7:15 AM, Andrea
Bob,
How is the data stored in SQL Server? Is it in SQL Server native format? If so,
then see http://mapserver.org/input/vector/mssql.html. If its SDEBINARY or some
other SDE format, then your only solution is going through SDE so that means
deploying an SDE server.
Mike
--
Michael Smith
Clément,
There is an optimized route for reprojection from 4326 - 3857 in MapServer
(see http://lists.osgeo.org/pipermail/mapserver-dev/2012-February/011956.html)
so it can be very fast. I can't see how if could be faster than no projection.
Perhaps the 10% is just within the margin of error?
This is a new feature I can champion. I will try to allocate some
development dollars behind this as this is something we at USACE would
find useful.
Mike
--
Michael Smith
US Army Corps
Remote Sensing GIS/Center
On 9/27/12 10:06 AM, Daniel Morissette dmorisse...@mapgears.com wrote:
I think
At the SQL level, you can do some fancy work with CASE and setting some
default values
The CASE function allows you to set all kind of logical comparisons. You
can do conditional joins that way, setting the join condition to a non
matching value when you don't want the join, etc. SQL is more
I think that¹s correct for ansi syntax
Mike
On 9/21/12 8:13 AM, Julien Cigar jci...@ulb.ac.be wrote:
On 09/21/2012 13:24, Smith, Michael ERDC-RDE-CRREL-NH wrote:
At the SQL level, you can do some fancy work with CASE and setting some
default values
The CASE function allows you to set all
Michele,
Try with
DATA SHAPE FROM PSITDATA.COMUNI USING SRID 32633
The VERSION 10g part doesn't need to be used anymore.
Mike
--
Michael Smith
Remote Sensing/GIS Center
US Army Corps of Engineers
From: Michele De Santis tap...@virgilio.itmailto:tap...@virgilio.it
Reply-To: Michele De
Hmm,
You can't use that statement directly in sqlplus
You could use
SELECT OBJECTID_1,rownum, SHAPE FROM PSITDATA.COMUNI WHERE SDO_FILTER( SHAPE,
MDSYS.SDO_GEOMETRY(2003, :srid,
NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),sdo_ordinate_array(minx, miny, maxx,
maxy) ),'querytype=window') = 'TRUE'
www.geocue.comhttp://www.geocue.com/
From: Smith, Michael ERDC-RDE-CRREL-NH [mailto:michael.sm...@erdc.dren.mil]
Sent: Tuesday, August 14, 2012 10:37 AM
To: Sowmya Tiramdasu
Subject: Re: [mapserver-users] KML generation-partially working
Have you looked inside the KML file?
You can also set a DEBUG
If you have the image properly generating, then is just a matter of your
mapping the image to the URL used in the KML.
So your IMAGEURL value should return images from the /ms4w/tmp/ms_tmp
directory. And it should be an absolute URL (eg http://servername/path/to/tmp)
and you should verify that
Sorry, I'm getting a little confused. Are you generating ground overlay layers
(eg one raster output for a number of layers) or actual KML features (eg,
Placemarks with a geometry and an style marker)?
If you are posting the KML to google maps, then the KML is public. Can you post
the link to
Sowmya,
Looks like you might have a smart-quote there.
Try
OUTPUTFORMAT
NAME kml
DRIVER KML
MIMETYPE application/vnd.google-earth.kml+xml
IMAGEMODE RGB
, AL 35758
(256) 461-8289 Telephone
(256) 461-8249 Fax
www.geocue.comhttp://www.geocue.com/
From: Smith, Michael ERDC-RDE-CRREL-NH [mailto:michael.sm...@erdc.dren.mil]
Sent: Tuesday, August 14, 2012 10:37 AM
To: Sowmya Tiramdasu
Subject: Re: [mapserver-users] KML generation-partially working
Have
Ya,
MapServer is cgi (or fastcgi). So it doesn't hold data in memory like
ArcGIS Server does. Also, each MapServer session (since its cgi) is
independent of each other so there is no service to go down. As long as
Apache is running, so is MapServer.
I find that MapServer scales much better for
Helen,
It does not appear that you can. Based on the docs
Raster classifications always take place on only one raster band. It
defaults to the first band in the referenced file, but this can be altered
with the BANDS PROCESSING directive. In particular this means that
including even a single
57 matches
Mail list logo