Re: [mapserver-users] server geojson data as input to map file

2021-06-16 Thread Robert Sanson
END … Kind regards Robert Sanson From: mapserver-users On Behalf Of Thomas Gratier Sent: Thursday, 17 June 2021 3:52 am To: Jeff McKenna Cc: MapserverList OSGEO Subject: Re: [mapserver-users] server geojson data as input to map file Hi Jeff, Could be wrong but your exemple use a static Ge

Re: [mapserver-users] Copy mapserv.exe problem

2019-10-30 Thread Robert Sanson
Hi Stefan Is your mapserver on Windows? Once you copy mapserv.exe change its name to the name of your mapfile and then edit httpd.conf and set up Apache redirects for each one Eg. Suppose you had a mapfile map1.map and you copied mapserv.exe to map1.exe, then you could put the following line

Re: [mapserver-users] Getting all endpoints on a single MapServer instance

2018-10-07 Thread Robert Sanson
Hi Jonathan No, you can't get all end points. The GetCapabilities response only rturns what is listed in the specific map file. Regards Robert -Original Message- From: mapserver-users On Behalf Of Jonathan Moules Sent: Sunday, 7 October 2018 8:09 a.m. To:

Re: [mapserver-users] On-the-fly field calculation in a GetFeatureInfo request

2017-03-16 Thread Robert Sanson
If you run the WMS GetfeatureInfo request from Javascript using an XMLHttpRequest, and you can assign the response to a variable and then access the responseText property. You would parse it, get the field value you need and then do what ever maths you need and then put it into an alert or

Re: [mapserver-users] Embed map (detail map) in mapserver output?

2017-02-08 Thread Robert Sanson
I currently do something similar using a Python script to make the different WMS calls and insert the returned maps into a reportlab document. The script produces a PDF which can be saved to disk or printed directly using Ghostscript. Regards, Robert Sanson From: mapserver-users

Re: [mapserver-users] Mapcache - Howto provide additional high DPI tileset?

2017-01-24 Thread Robert Sanson
So we would need to prepare two complete tile sets. Is there then a way in the Javascript code to switch the WMTS call from the 256x256 grid to the 512x512 grid if the client browser has a Retina display? Thanks, Robert From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On

Re: [mapserver-users] ogrinfo not recognized

2016-10-31 Thread Robert Sanson
Have you tried semi-colons between the parameters? “MySQL:DatabaseName;host=Server;user=myUserName;password=myPassword;port=myPort” From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Vogt, Robert (RCIS) Sent: Tuesday, 1 November 2016 8:53 a.m. To: 'Marco Afonso'

Re: [mapserver-users] Where is the error log file?

2016-07-24 Thread Robert Sanson
Hi Jenia I configure the location of my Mapserver error log file in my map file: CONFIG "MS_ERRORFILE" "/mnt/gisdata/tmp/ms_tmp/ms_error.txt" Regards, Robert From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of jenia mtl Sent: Monday, 25 July 2016 7:53 a.m. To:

Re: [mapserver-users] Mapserver - connection to MSSQL

2016-06-06 Thread Robert Sanson
res [mailto:szeker...@gmail.com] Sent: Wednesday, 1 June 2016 9:23 a.m. To: Robert Sanson <robert.san...@asurequality.com> Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Mapserver - connection to MSSQL Probably the referred table is not enumerated in the geometry_columns metada

Re: [mapserver-users] Mapserver - connection to MSSQL

2016-05-31 Thread Robert Sanson
Hi Tamas That was it. I inserted the appropriate values into geometry_columns and spatial_ref_sys. All working now. Many thanks, Robert From: Tamas Szekeres [mailto:szeker...@gmail.com] Sent: Wednesday, 1 June 2016 9:23 a.m. To: Robert Sanson <robert.san...@asurequality.com> Cc: map

Re: [mapserver-users] Mapserver - connection to MSSQL

2016-05-31 Thread Robert Sanson
get around this issue? Robert From: Tamas Szekeres [mailto:szeker...@gmail.com] Sent: Wednesday, 1 June 2016 6:36 a.m. To: Robert Sanson <robert.san...@asurequality.com> Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Mapserver - connection to MSSQL Robert, It looks like

Re: [mapserver-users] Mapserver - connection to MSSQL

2016-05-31 Thread Robert Sanson
de_of_origin",0], PARAMETER["central_meridian",173], PARAMETER["scale_factor",0.9996], PARAMETER["false_easting",160], PARAMETER["false_northing",1000], UNIT["metre",1, AUTHORITY["EPSG","9001"]], AUTHORI

Re: [mapserver-users] How to use tiles input

2016-05-19 Thread Robert Sanson
I don't see a reference to the "tiles" component on: http://mapserver.org/introduction.html#anatomy-of-a-mapserver-application Mapserver can take many forms of data as input (Shapefiles, rasters, other WMS etc). If you have many rasters as inputs, you can create a Shapefile index of their

[mapserver-users] mapcache_seed fill in missing tiles?

2016-05-15 Thread Robert Sanson
Hi Is it possible to use mapcache_seed to fill in missing tiles? Many thanks, Robert L. Sanson ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Mapcache - WMS calls

2016-05-15 Thread Robert Sanson
I have mapcache and mapserver running on a single server. Mapcache is configured to respond to WMST, TMS and WMS calls. When WMS calls are made, I don't want the calls passed through to the mapserver, but served by the existing tiles in the cache. I want the cached tiles to be assembled from

Re: [mapserver-users] Mapserver - connection to MSSQL

2016-05-12 Thread Robert Sanson
: Rahkonen Jukka (MML) [mailto:jukka.rahko...@maanmittauslaitos.fi] Sent: Wednesday, 11 May 2016 7:28 p.m. To: geograph...@gmail.com; Robert Sanson <robert.san...@asurequality.com>; mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Mapserver - connection to MSSQL Hi, The conn

[mapserver-users] Mapserver - connection to MSSQL

2016-05-10 Thread Robert Sanson
Hi I am trying to create a Mapserver (v 6.4.1 on Ubuntu) layer based on a MSSQL table with native geometry. I have tested the connection via ogrinfo (based on gdal v 2.0.2) and it works: ogrinfo -sql "select * from par_table where par_no = 6777887"

Re: [mapserver-users] Mapserver - cascading a remote ESRI REST service

2016-04-27 Thread Robert Sanson
: Wednesday, 27 April 2016 8:48 p.m. To: mapserver-users@lists.osgeo.org Cc: Rahkonen Jukka (MML) <jukka.rahko...@maanmittauslaitos.fi>; Robert Sanson <robert.san...@asurequality.com> Subject: Re: [mapserver-users] Mapserver - cascading a remote ESRI REST service Le mercredi 27 avril 2016 09:32:

[mapserver-users] Mapserver - cascading a remote ESRI REST service

2016-04-26 Thread Robert Sanson
Hi I am trying to cascade a remote ESRI REST image service via my Mapserver mapfile. Here is my XML file: http://maps.six.nsw.gov.au/arcgis/rest/services/sixmaps/LPI_Imagery_Best/MapServer xyXY 3857 image/jpeg 1.53E7 -295.0 1.781E7

[mapserver-users] Upgrading GDAL

2016-04-25 Thread Robert Sanson
Hi Is it fine to upgrade GDAL separately from Mapserver? I have Mapserver 6.4 and GDAL v 1.10 on a Ubuntu server. I wish to take advantage of some GDAL v 2 improvements - specifically . Will anything break? Many thanks, Robert L. Sanson ___

Re: [mapserver-users] wms

2015-11-24 Thread Robert Sanson
Hi Rishi What does the .txt file say? Is the path map=c://ms4w/apps/webgis/wmssample.map correct? Perhaps you should try: map=/ms4w/apps/webgis/wmssample.map regards, Robert From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of rishi Sent: Tuesday, 24 November

Re: [mapserver-users] Mapcache - optimum format for orthophotos?

2015-10-13 Thread Robert Sanson
. To: Robert Sanson <robert.san...@asurequality.com> Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Mapcache - optimum format for orthophotos? in the vast majority of the cases, you'll want to have mapcache use metatiles, be serving PNGs from your WMS server (image/png i

[mapserver-users] Mapcache - optimum format for orthophotos?

2015-10-12 Thread Robert Sanson
Hi What is the recommended format for serving and storing true colour orthophotos via Mapcache if we wish to preserve maximum detail? The source data are uncompressed GeoTiffs served as WMS by Mapserver. Many thanks, Robert Sanson ___ mapserver

[mapserver-users] Mapcache - how to deal with changes to mapcache.xml?

2015-10-12 Thread Robert Sanson
What is the recommended approach to dealing with stored tiles when changes to mapcache.xml are made, such as a change in the set of resolutions in a grid? Should we disable the Web server, delete all the existing tiles then restart the server? Many thanks, Robert Sanson

Re: [mapserver-users] split one geojson into tiles

2015-08-19 Thread Robert Sanson
Maybe this is something you could do with Qgis? Sent from Samsung Mobile Original message From: zach cruise Date:20/08/2015 04:04 (GMT+12:00) To: mapserver-users Cc: mapserver-...@lists.osgeo.org Subject: [mapserver-users] split one geojson into tiles the subject says it

Re: [mapserver-users] color range fade to transparent.

2015-06-02 Thread Robert Sanson
Hi Bob You need an alpha (opacity) value that would go from 1 to 0. Can you set an opacity value in your database as an attribute that is calculated from age? Then maybe you could set the OPACITY in your layer to read it from the database column? Your output format should support RGBa

Re: [mapserver-users] URL redirection under IIS

2015-05-03 Thread Robert Sanson
Hi James The following works for Apache: 1. Copy your mapserv executable (mapserve.exe under Windows in the cgi-bin folder or make a symbolic link under Unix) and give it a different name (eg the name of your map file without the .map extension). 2. Edit your httpd.conf file and include

Re: [mapserver-users] Storing GeoTIFFs in Amazon S3 for use with Mapserver?

2014-11-05 Thread Robert Sanson
, 2014 at 2:56 PM, Robert Sanson robert.san...@asurequality.com wrote: Does anyone have experience with using Amazon S3 to store GeoTIffs for use as a back-end datastore accessible by Mapserver in order to create a WMS service? Thanks, Robert Sanson Robert Sanson Veterinary Epidemiologist

[mapserver-users] Storing GeoTIFFs in Amazon S3 for use with Mapserver?

2014-11-04 Thread Robert Sanson
Does anyone have experience with using Amazon S3 to store GeoTIffs for use as a back-end datastore accessible by Mapserver in order to create a WMS service? Thanks, Robert Sanson Robert Sanson Veterinary Epidemiologist Batchelar Centre | Tennent Drive | Palmerston North PO Box 585

Re: [mapserver-users] Bulk creation of mapfile

2014-08-13 Thread Robert Sanson
Here is a small Python script that read in a file of shapefile names of tileindexes for thousands of rasters and wrote out the LAYER sections to a text file. It used fiona to work out the extents of each tileindex shapefile. The input list included file name and ground sampling distance (GSD):

[mapserver-users] Mapserver 6.4.1 and libpng

2014-02-20 Thread Robert Sanson
; for layer #39;lakes#39;. The PNG driver failed to in png_create_read_struct(). This may be due to version compatibility problems. /ServiceException /ServiceExceptionReport Any clues? Many thanks, Robert Sanson This email and any attachments are confidential and intended solely for the addressee

Re: [mapserver-users] Variable substitution in CONNECTION string on cascading WMS?

2014-01-29 Thread Robert Sanson
experimenting. By the way, you do not read polygons from the remote WMS, you read rasters. Thus TYPE RASTER. -Jukka Rahkonen- Robert Sanson wrote: Hi Is it possible to have variable substitution within the CONNECTION string for CONNECTIONTYPE WMS? Here is a layer section

[mapserver-users] Variable substitution in CONNECTION string on cascading WMS?

2014-01-27 Thread Robert Sanson
through to the other WMS server for processing. Many thanks, Robert Sanson This email and any attachments are confidential and intended solely for the addressee(s). If you are not the intended recipient, please notify us immediately and then delete this email from your system. This message has

Re: [mapserver-users] Zooming with CGI Parameter

2014-01-16 Thread Robert Sanson
Hi Robert Why don't you calculate a new mapext dynamically and then substitute that? Regards Robert Sanson Burgholzer, Robert (DEQ) robert.burghol...@deq.virginia.gov 17/01/2014 11:50 a.m. Hello, I am trying to get my maps to dynamically Zoom out from a location via a CGI call with URL

Re: [mapserver-users] Intersect and Union with mapserver

2013-12-29 Thread Robert Sanson
What you need is a Web Processing Service (WPS). The client app needs to allow the user to select the two layers to UNION or Intersect, then pass the request to the WPS which performs the task, and passes the resulting layer back to the client for display. I don't believe Mapserver can do this

Re: [mapserver-users] Best way to do a batch reprojection (on windows)

2013-08-07 Thread Robert Sanson
Hi If you are talking about coterminous USA, then you might be better to use something like Albers Equal-Area Conic Projection rather than WGS84 which is not strictly a projection at all. Regards, Robert andy a...@squeakycode.net 8/08/2013 8:45 a.m. On 8/7/2013 3:35 PM, James_in_Utah

Re: [mapserver-users] Best way to import 4.5TB of imagery?

2013-06-10 Thread Robert Sanson
Sounds all very complicated. I would advise that you choose a single projection that will work across your entire are and then re-project your imagery first, and then build your image datastore around that. Evans, James R Civ USAF ACC 84 RADES/SCZE james.ev...@hill.af.mil 11/06/2013 10:48

Re: [mapserver-users] Any way for WFS-T with SQL Server?

2013-04-23 Thread Robert Sanson
I have implemented a variation of WFS-T using dedicated Python scripts in the cgi-bin directory to run the queries against SQL-Server. The format of data between the Python scripts and my OpenLayers client that I use is GeoJSON or WKT. Mapserver is not involved directly, but can render the data

Re: [mapserver-users] mapserver as a wms server for arcgis client

2012-09-13 Thread Robert Sanson
Hi Jessica I can confirm with Brent that ArcMap can read WMS layers from Mapserver. You need to specify the version in ArcCatalog when you first connect, otherwise ArcMap will try v1.3 by default (from memory). Regards, Robert pcr...@pcreso.com 14/09/2012 5:44 a.m. Can you confirm it works

Re: [mapserver-users] OGRVRT Data Sources and SQL server

2012-05-29 Thread Robert Sanson
Hi Chris You need to define the primary key in your .ovf file: FIDfarmgate_id/FID I put the .ovf file in the same directory as my .map file, then Mapserver can find it: CONNECTION ./farmgates.ovf All thebest, Robert Chris Jackson webturt...@gmail.com 29/05/2012 8:57 p.m. Hi Robert

Re: [mapserver-users] OGRVRT Data Sources and SQL server

2012-05-28 Thread Robert Sanson
Hi Chris I am successfully using OGR with SQL-Server with SQL authentication. This is what I do: Say I want to plot farm gates. I have a System DSN datasource set up in ODBC say called MYDSN with SQL Server authentication. I create a farmgates.ovf file containing: OGRVRTDataSource

Re: [mapserver-users] Mapserver as cascading WMS for ArcGIS Rest?

2012-05-24 Thread Robert Sanson
: I don't think so. MapServer only allows wms cascading using the http/wms requests. Alan On 12-05-23 09:39 PM, Robert Sanson wrote: Is it possible to have a layer in Mapserver pulling data from a ArcGIS Rest service? Thanks, Robert Sanson This email and any attachments

[mapserver-users] Mapserver as cascading WMS for ArcGIS Rest?

2012-05-23 Thread Robert Sanson
Is it possible to have a layer in Mapserver pulling data from a ArcGIS Rest service? Thanks, Robert Sanson This email and any attachments are confidential and intended solely for the addressee(s). If you are not the intended recipient, please notify us immediately and then delete

Re: [mapserver-users] Mapserver WFS - ODBC RDBMS - GEOMETRY_COLUMNS and SPATIAL_REF_SYS Tables

2012-03-01 Thread Robert Sanson
OVF files can link to point, line and polygon data in WKT format. Just specify wkbPoint, wkbLinestring, wkbPolygon see: http://www.gdal.org/ogr/drv_vrt.html Regards, Robert Donald Kerr 03/02/12 11:54 AM Hi List, I have a point layer set up for WFS requests that connects to a Microsoft

Re: [mapserver-users] Attribute query at geographic coordinate

2011-11-13 Thread Robert Sanson
=WMSversion=1.1.1request=GetFeatureInfoLAYERS=mapsheetQUERY_LAYERS=mapsheetINFO_FORMAT=text/plainSRS=EPSG:27200BBOX=2435500,5843425,2437500,5845425WIDTH=256HEIGHT=256X=128Y=128 Kind regards, Robert Sanson Peter Weilandt peterweila...@shaw.ca 14/11/2011 1:07 p.m. I stumbled across MapServer in my

Re: [mapserver-users] Coloring vectordata by features/infos

2011-09-05 Thread Robert Sanson
Hi Michael Take a look at CLASS and EXPRESSION: http://mapserver.org/mapfile/class.html Here is an example from one of my map files: LAYER NAME rivers GROUP Topos TYPE LINE STATUS ON DATA ../data/aus/rivers PROJECTION init=epsg:4283 END MAXSCALE 1000 MINSCALE 75000

Re: [mapserver-users] Meaning of PROJECTION and WMS - using OpenLayers

2011-08-10 Thread Robert Sanson
Dear Michael You need to tell OL which projection to request in within the map object. This is how I do it: var mapoptions = { maxExtent: new OpenLayers.Bounds(773500, 4555450, 2602100, 6384050), units: 'm', projection: EPSG:2193, }; map = new OpenLayers.Map(

[mapserver-users] RE: Random colours for polygon fill?

2011-07-06 Thread Robert Sanson
Anzel Web Soil Survey developer Vistronix Inc for USDA/NRCS/ITC -Original Message- -- Message: 4 Date: Wed, 06 Jul 2011 09:08:28 +1200 From: Robert Sanson robert.san...@asurequality.com Subject: [mapserver-users] Random colours for polygon fill? To: mapserver

[mapserver-users] Random colours for polygon fill?

2011-07-05 Thread Robert Sanson
Dear Mapserver users Just wondering if it is possible to colour a polygon Shape file layer with each distinct polygon having a different colour? Many thanks, Robert Sanson This email and any attachments are confidential and intended solely for the addressee(s). If you

Re: [mapserver-users] ArcGIS Server layer

2011-01-11 Thread Robert Sanson
Yes - two ways: 1. Connect to a WMS service on ArcGIS Server: LAYER NAME nz50ktm GROUP Toposcans TYPE RASTER STATUS ON CONNECTION http://myserver/arcgis/services/mapservice_topography_raster/MapServer/WMSServer?; CONNECTIONTYPE WMS MAXSCALE 6 MINSCALE 1 METADATA

Re: [mapserver-users] Re: ODBC OGR MS SQL CONNECTION

2010-03-31 Thread Robert Sanson
end, i.e. all the points in the map window get retrieved, and then the filter is applied, or does Mapserver send the filter through to OGR? Many thanks, Robert Sanson This message has been scanned for malware by SurfControl plc. www.surfcontrol.com

Re: [mapserver-users] Mapserver for indoor maps

2010-03-23 Thread Robert Sanson
Hi Benjamin You need to establish some coordinate reference system to use. Could be metres, starting with 0,0 in the south-west corner of your floor. The raster should haev a world file associated with it (with a .pgw extension) that establishes the location of the centre of the top left

Re: [mapserver-users] GDAL WMS

2010-03-15 Thread Robert Sanson
Hi JAmes I believe sizex,sizey refers to the size a given pixel represents on the ground. eg. a 1:25,000 scale orthophoto may be represented with each pixel = 2.5m on the ground. Here is an example from my mapfile: LAYER NAME nz50ktm GROUP Toposcans TYPE RASTER STATUS ON

Re: [mapserver-users] Average/Bilinear Resampling and Alpha Bands

2010-03-15 Thread Robert Sanson
Hi Jason That's not unexpected. RESAMPLE=NEAREST preserves the nodata vales used in the mask. BILINEAR or AVERAGE combine values from adjoining pixels, so the nodata pixels get some other value. regards, Robert Jason Beverage jasonbever...@gmail.com 16/03/2010 4:53 a.m. Hi all, I have

Re: [mapserver-users] Average/Bilinear Resampling and Alpha Bands

2010-03-15 Thread Robert Sanson
polygon cutting so I'm losing my blending line if I do average or bilinear resampling. I'll see if I can create a small example that shows the issue. Thanks, Jason On Mon, Mar 15, 2010 at 3:55 PM, Robert Sanson sans...@asurequality.com wrote: Hi Jason That's not unexpected. RESAMPLE=NEAREST

Re: [mapserver-users] runtime substitution not working

2010-03-14 Thread Robert Sanson
Use double %% like '%%spp%%' and pass spp=TAR Regards, Robert Joshua Hevenor jheve...@rogers.com 15/03/2010 1:03 p.m. I see what Ben was worried about and what you're trying to do. I haven't done a lot of variable substitution but I have done a lot of head scratching to when queries

Re: [mapserver-users] Raster Display Performance

2010-03-07 Thread Robert Sanson
Hi Zsolt Before you use gdaladdo, I would make sure that the internal structure on your TIFF files is tile based. You can use gdalinfo to check. If not, use gdal_translate to turn into a tile structure: gdal_translate -of GTiff -co TILED=YES -co BLOCKXSIZE=64 -co BLOCKYSIZE=64 input.tif

Re: [mapserver-users] Coordinates as labels

2010-02-25 Thread Robert Sanson
Hi Erdem If you can create an attribute field for the z value and get it populated, then you can use it to label with. Regards, Robert Erdem Guven erdem.gu...@idealteknoloji.com 25/02/2010 3:05 a.m. Hello, I use shp2img to render s57 files. I want use z coordinate of points as label

Re: [mapserver-users] mapserver+SDE support

2009-10-18 Thread Robert Sanson
Dear Zsolt Did you execute /ms4w/setenv.bat? This will install various environment variables. regards, Robert Medve Zsolt medvez...@gmail.com 16/10/2009 7:53 a.m. Hy! There is a link: http://www.maptools.org/ms4w/index.phtml?page=README_INSTALL_3.0.html#sde I do exactly the same

Re: [mapserver-users] Help (tipstricks) on raster dataset optimization

2009-10-14 Thread Robert Sanson
If disk space is not a problem hat I would do is: 1. Transform source files into internally tiles files using gdal_translate -of GTiff -co TILED=YES . 2. Use gdaladdo to add internal pyramids 3. Creat a TILEINDEX using gdaltindex myindex.shp *.tif 4. Use shptree myindex.shp to create a

Re: AW: [mapserver-users] Invalid format for theEXCEPTIONparameter

2009-09-23 Thread Robert Sanson
Robert Sanson wrote: I have a 5.4.2 version of Mapserver (MS4W) configured for WMS access. OpenLayers is accessing it fine, however, ArcMap / ArcCatalog v 9.3 is giving me an Error message: WMS service exceptions:-Service Error Code:InvalidFormat Service Error Description

Re: AW: [mapserver-users] Invalid format for theEXCEPTIONparameter

2009-09-23 Thread Robert Sanson
server dialog has a dropdown list for selecting a version (see attached image). Arnd Von: Robert Sanson [mailto:sans...@asurequality.com] Gesendet: Mittwoch, 23. September 2009 22:44 An: Arnd Wippermann Cc: mapserver-users@lists.osgeo.org Betreff: Re: AW: [mapserver-users] Invalid format

Re: [mapserver-users] how to get pdf from mapserver

2009-09-20 Thread Robert Sanson
Hi Harpal Here is an example from my internal server that works for me:

[mapserver-users] Preparing GeoTIFF files for use in Mapserver

2009-09-20 Thread Robert Sanson
environment variable specified, and have also included it in my path. I am using the gdal utilities that came with ms4w. Many thanks, Robert Sanson -- The contents of this email are confidential to AsureQuality. If you have received

Re: [mapserver-users] Preparing GeoTIFF files for use in Mapserver

2009-09-20 Thread Robert Sanson
/ Cheers, Brent Wood --- On Mon, 9/21/09, Robert Sanson sans...@asurequality.com wrote: From: Robert Sanson sans...@asurequality.com Subject: [mapserver-users] Preparing GeoTIFF files for use in Mapserver To: mapserver-users@lists.osgeo.org Date: Monday, September 21, 2009, 12:31 PM

Re: [mapserver-users] Symbol Image Quality

2009-07-22 Thread Robert Sanson
size - say 16x16 pixels. That is likely the issue here. You need to have symbols that are clear at these sizes. Regards, Robert Sanson Adam Eskreis aeskr...@gmail.com 23/07/2009 10:10 a.m. Hello all, I am creating a symbol layer which uses images as the symbols. The images themselves

Re: [mapserver-users] expected speeds.

2009-05-06 Thread Robert Sanson
Hi Sam I would try turning the Coastline layer into a Shapefile and serving it from the Mapserver machine in a local directory. Postgis is probably overkill given the layer is probably static (unlikely to need changing). regards, Robert Sam Ingarfield sjfingarfi...@gmail.com 7/05/2009

Re: [mapserver-users] WFS Layer running OGR Query Multiple times perrequest

2009-03-31 Thread Robert Sanson
Sounds like quite an impediment. Any idea when v6.0 is likely to be released? Robert Frank Warmerdam warmer...@pobox.com 1/04/2009 2:07 p.m. joncoign wrote: I have a WFS layer that is querying the database via an OGR ODBC connection once per point included in the result set plus one

Re: [mapserver-users] large shapefile - oops

2009-03-29 Thread Robert Sanson
Hi Steve I was a bit hasty and hadn't read Stephen Woodgridge's response. His answer is more complete and correct than mine. I was thinking of gdaltindex for rasters. Kind regards, Robert Sanson steve.tout...@inspq.qc.ca 28/03/2009 3:05 a.m. Hi, I read a lot on how to optimized

Re: [mapserver-users] large shapefile

2009-03-29 Thread Robert Sanson
Hi Steve For Shapefiles, the only one you need is shptree. It creates a .qix spatial index file of your features. Usage: shptree yourshapefile.shp The other tools are for rasters. Kind regards, Robert Sanson Robert Sanson, BVSc, MACVSc, PhD Geospatial Services AsureQuality Limited PO

Re: [mapserver-users] How can I do a SQL text comparison in a mapfile?

2009-02-12 Thread Robert Sanson
I don't have a problem with an internal quote in my map file using ms4w with Mapserver 5.2: FILTER WHERE LEGAL_DESC LIKE '%%legal%%' The double %% allow me to use wildcard searching. Robert Sanson Bob Basques bob.basq...@ci.stpaul.mn.us 13/02/2009 8:56 a.m. This was just talked about

Re: [mapserver-users] problem with raster data..

2009-01-29 Thread Robert Sanson
wms_group_title Toposcans #wms_group_abstract Topo layers wms_resx 25 wms_resy 25 ows_extent 1073500 4734000 2102100 6224500 END END Cheers, Robert Sanson MeLv1n wAuRaN death_knight0...@yahoo.com 30/01/2009 2:50 p.m. hi all, right now i have 50 .TIF files (a whole map of my

Re: [mapserver-users] Scalebar vs Numeric scale

2008-12-08 Thread Robert Sanson
Have you checked the RESOLUTION parameter. I think the default is 72 (based on dots per inch of older computer monitors). Maybe you should change this to 96 dpi, or whatever you monitor resolution is: # default output image dimensions SIZE 512 512 RESOLUTION 96 regards, Robert Sanson

[mapserver-users] RE: Scalebar vs Numeric scale

2008-12-08 Thread Robert Sanson
Maybe someone better informed than me can answer. Is it possible to find out the resolution of the monitor using Javascript? Maybe you can then send the mapserv.exe CGI executable a parameter: RESOLUTION+72 or something. see:

Re: [mapserver-users] ICON Placing co-ordinates.....

2008-12-02 Thread Robert Sanson
+gps_pointMINX=1747411.13985MINY=5426898.99793MAXX=1749411.13985MAXY=5428898.99793mapsize=1200+1200 Unfortunately I get an error: loadFeaturePoints(): Unknown identifier. Parsing error near (%gpsx%):(line 727) How can I pass in the x y? Many thanks, Robert Sanson Steve Lime [EMAIL

RE: [mapserver-users] ICON Placing co-ordinates.....SOLVED

2008-12-02 Thread Robert Sanson
. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Sanson Sent: Tuesday, December 02, 2008 2:36 PM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] ICON Placing co-ordinates. I am having some trouble too. I want to pass in the x y

RE: [mapserver-users] ICON Placing co-ordinates.....SOLVED

2008-12-02 Thread Robert Sanson
explicitly in your URL call. David. -Original Message- From: Robert Sanson [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2008 3:06 PM To: mapserver-users@lists.osgeo.org; David Fawcett Subject: RE: [mapserver-users] ICON Placing co-ordinates.SOLVED Thanks very much David. I

[mapserver-users] Location of msplugin_sde_91.dll - solved

2008-11-10 Thread Robert Sanson
Hi Went through my map files and found it is in the PLUGIN section: # actual data pointer CONNECTIONTYPE SDE CONNECTIONTYPE PLUGIN CONNECTION esri-arcsde,port:5165,sde_crs,sansonr,password PLUGIN d:/ms4w/apache/specialplugins/msplugin_sde_91.dll DATA sde_crs.SDEADMIN.VP_VW,SHAPE

Re: [mapserver-users] Matching .TFW file with EXTENT parameter?

2008-11-03 Thread Robert Sanson
Hi Kresh Tiff World File (.tfw) 6 rows: First row is x-pixel resolution (width in your coordinate system) Second and third rows are so-called rotational components but are set to zero in the case of an unrotated mapsheet. The fourth row is the y-pixel resolution (dimension in coordiantes). The

Re: [mapserver-users] Access control for wms served from mapserver cgi

2008-10-20 Thread Robert Sanson
Hi Marc Where do you set this? Is it somewhere in httpd.conf? Many thanks, Robert Sanson [EMAIL PROTECTED] [EMAIL PROTECTED] 21/10/2008 4:21 a.m. Hello, We are using this very basic setting: # Demo WMS Alias /wms-demo/usr/lib/cgi-bin/mapserver Location /wms-demo Deny from all

Re: [mapserver-users] High resolution printing

2008-09-30 Thread Robert Sanson
to do that from mapserver without some additional research. -Steve W Robert Sanson wrote: I am using OpenLayers to formulate the Mapserver request for a PDF map, specifying the output resolution in pixels. I read somewhere that default Mapserver is compiled with up to 4000x4000 pixel images

RE: [mapserver-users] Including a variable title on a map?

2008-09-29 Thread Robert Sanson
] On Behalf Of thomas bonfort Sent: Monday, September 29, 2008 11:46 AM To: Robert Sanson Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Including a variable title on a map? try with map.layer[fid].feature[0]=TEXT+AS1 -- thomas

[mapserver-users] How to get my Browser to open a Mapserver map with outputformat=pdf?

2008-09-29 Thread Robert Sanson
I have a Map file with and Outputformat = PDF defined: OUTPUTFORMAT NAME pdf MIMETYPE application/x-pdf IMAGEMODE RGBA DRIVER pdf EXTENSION pdf FORMATOPTION TRANSPARENT=ON TRANSPARENT ON #FORMATOPTION OUTPUT_TYPE=RASTER ##not mandatory END I call the map by sending a URL from

Re: [mapserver-users] RE:mapserver + MS SQL

2008-09-28 Thread Robert Sanson
statement. Kind regards, Robert Sanson Robert Sanson, BVSc, MACVSc, PhD Geospatial Services AsureQuality Limited PO Box 585, Palmerston North NEW ZEALAND Phone: +64 6 351-7990 Fax: +64 6 351-7919 Mobile: 021 448-472 E-mail: [EMAIL PROTECTED] Ben Madin [EMAIL PROTECTED] 27/09/2008 8:07 a.m

RE: [mapserver-users] Including a variable title on a map?

2008-09-28 Thread Robert Sanson
contains this section: map.layer[fid].feature[0].TEXT=AS1 I have tried with and without quotes around the TEXT, and also with and without feature[0]. Any assistance appreciated. Robert Sanson Fawcett, David [EMAIL PROTECTED] 26/09/2008 1:35 a.m. If you want to allow the title string

[mapserver-users] Variable substitution in FILTER request with a LIKE

2008-09-28 Thread Robert Sanson
% + %' # data is queryable DUMP TRUE Is there any solution to this? Many thanks, Robert Sanson -- The contents of this email are confidential to AsureQuality. If you have received this communication in error please notify

Re: [mapserver-users] Highlighting a polygon

2008-09-28 Thread Robert Sanson
the click event. Kind regards, Robert Sanson Subha Ramakrishnan [EMAIL PROTECTED] 29/09/2008 5:14 p.m. Hi, I am using openlayers and mapserver to overlay an image of the states of india on google map. Is there a way to color/highlight a state on clicking, using mapserver? I am not using any

[mapserver-users] Re: Transparency via WMS request?

2008-09-24 Thread Robert Sanson
Is it possible to get layer transparency when outputformat=PDF? Thanks, Robert Sanson Roger André [EMAIL PROTECTED] 25/09/2008 10:36 a.m. Thanks to some help from a fellow GIS developer, I think I've narrowed the problem down to the OUTPUTFORMAT section of my mapfile. Changing from the AGG

[mapserver-users] Including a title on a map?

2008-09-24 Thread Robert Sanson
, Robert Sanson -- The contents of this email are confidential to AsureQuality. If you have received this communication in error please notify the sender immediately and delete the message and any attachments. The opinions expressed

Re: [mapserver-users] Ed's Rules for the Best Raster Performance

2008-09-15 Thread Robert Sanson
Has anyone tried Erdas Imagine .img files? Robert Sanson, BVSc, MACVSc, PhD Geospatial Services AsureQuality Limited PO Box 585, Palmerston North NEW ZEALAND Phone: +64 6 351-7990 Fax: +64 6 351-7919 Mobile: 021 448-472 E-mail: [EMAIL PROTECTED] Gregor Mosheh [EMAIL PROTECTED] 16/09/2008

[mapserver-users] ArcSDE 9.3 support?

2008-09-03 Thread Robert Sanson
Does anyone know if ArcSDE v 9.3 will be supported? We will soon be migrating from v9.1 to 9.3. Many thanks, Robert Sanson -- The contents of this email are confidential to AsureQuality. If you have received this communication

[mapserver-users] Problems with TILEINDEX moving from Mapserver 5.0 to 5.2

2008-08-28 Thread Robert Sanson
PROJECTION init=epsg:2193 END TYPE RASTER DUMP TRUE STATUS ON TILEINDEX ../data/nztm/1mtm_index TILEITEM Location MAXSCALE 300 MINSCALE 30 END Many thanks, Robert Sanson -- The contents of this email

Re: [mapserver-users] Problems with TILEINDEX moving from Mapserver 5.0 to 5.2

2008-08-28 Thread Robert Sanson
, Robert Sanson Jeff McKenna [EMAIL PROTECTED] 29/08/2008 12:38 p.m. There were some changes, but the old behavior should have been maintained (http://trac.osgeo.org/mapserver/ticket/2369). Maybe you should be more specific (what your SHAPEPATH parameter states, as well as your index's

Re: [mapserver-users] Problems with TILEINDEX moving from Mapserver 5.0 to 5.2 - solved

2008-08-28 Thread Robert Sanson
Hi Jeff OK - I see that the Location values should be relative to TILEINDEX rather than Map file. Solved. Much appreciated, Robert Sanson Jeff McKenna [EMAIL PROTECTED] 29/08/2008 12:38 p.m. There were some changes, but the old behavior should have been maintained (http

Re: [mapserver-users] Getmap request in Google earth

2008-06-22 Thread Robert Sanson
Hi Ben Just use STYLES= with no values. Cheers, Robert Sanson ben wyss [EMAIL PROTECTED] 22/06/2008 4:39 a.m. I am trying to call a WMS into Google Earth with a Getmap request, I am getting the error: missing required parameter STYLES However my URL contains a 'Styles' parameter? http

Re: [mapserver-users] Making mapserver into a WMS

2008-06-04 Thread Robert Sanson
Hi Matthew Just save the mapserv.exe file and give it an .xml extension, then opne it with a text editor. It will be XML! Cheers, Robert Sanson Matthew Pettis [EMAIL PROTECTED] 5/06/2008 12:55 a.m. Hi, I'm trying to test ms4w as a WMS for use with OpenLayers. Went through the tutorial

Re: [MAPSERVER-USERS] What is Data Handling Capacity of Mapserver?

2008-05-27 Thread Robert Sanson
Hi Yatendra I have not tried serving data from a personal geodatabase, but my Mapserver dataset is 15 GB, much of it rasters, but I also have single Shapefile that is approx 1 GB in size, and Mapserver has no problem. Regards, Robert yatendra [EMAIL PROTECTED] 27/05/2008 7:50:22 p.m.

Re: [mapserver-users] Map seems like it is shifted to the north by a few meters

2008-05-27 Thread Robert Sanson
Hi Ben This looks like WGS84. You should haev the following in your Map file, top level and/or layer level: PROJECTION init=epsg:4326 END regards, Robert Sanson Ben Kuek [EMAIL PROTECTED] 28/05/2008 3:44:09 p.m. Hi, My understanding of map projections is a bit rusty so I hope

Re: [mapserver-users] loadWeb(): Unknown identifier. Parsing error near (:):(line 1)

2008-05-20 Thread Robert Sanson
hi Here is how I reference paths in Mapserver under Windows: # this is the real filepath to the temp dir for intermediate file creation IMAGEPATH /ms4w/tmp/ms_tmp/ THis works for me. Kind regards, Robert Sanson Guillaume Sueur [EMAIL PROTECTED] 21/05/2008 4:46 a.m. if you can

[mapserver-users] GetFeatureInfo request against an OGR virtual data source

2008-05-19 Thread Robert Sanson
request from EPSG:2193 into valid NZMG (EPSG:27200) coordinates in order to request the correct feature details via OGR? Any help appreciated, Robert Sanson Robert Sanson, BVSc, MACVSc, PhD Geospatial Services AsureQuality Limited PO Box 585, Palmerston North NEW ZEALAND Phone: +64 6 351

  1   2   >