Re: [mapserver-users] Need Help with Custom (Raster) Data as Input

2009-01-26 Thread Muizudeen Kusimo
Dear All, I appreciate the responses I have received so far but I am new to GIS so please do not take offense at my (trivial) questions. I want to: a) Build a web application like Google Maps. I have: b) Little map data that needs to be re-drawn due to it's poor quality, lack of geo-reference

Re: [mapserver-users] Dynamin SQL with mapserver CGI?

2009-01-26 Thread umn-ms
Hi You can use a replaceable parameter in the FILTER clause if all you ... This introduces the hazard of SQL-Injection, doesn't it? Bye Benedikt Rothe mapserver-users-boun...@lists.osgeo.org schrieb am 24.01.2009 14:04:42: On Sat, Jan 24, 2009 at 3:18 AM, Saka Royban srph...@yahoo.com

Re: [mapserver-users] Dynamin SQL with mapserver CGI?

2009-01-26 Thread Rahkonen Jukka
Hi, Not any great hazard, I believe, if it means that user can normally get all the features, but only a subset when filter is set. It is different case if DATA clause is manipulated, and therefore that must be connected to DATAPATTERN. -Jukka Rahkonen-

[mapserver-users] Wrong Scaledenom-Interpretation on GetLegendGraphic-Request

2009-01-26 Thread teeschke
dear Mapserver.. a Layer that has a MaxScaleDenom of 200.001 becomes an empty LegendGraphic with SCALE=20 http://localhost/cgi-bin/mapserv.exe?map=C:/Projekte/legend/mapfile.mapSERVICE=WMSREQUEST=GetLegendGraphicVERSION=1.1.1FORMAT=image/gifLAYER=tw_messstellenSCALE=20 The

SV: [mapserver-users] Need Help with Custom (Raster) Data as Input

2009-01-26 Thread Morten Sickel
Dear Muizudeen, As far as I understand you,you try to do three things at once - Learn GIS - Learn a new programming tool (mapserver et.al.) - Clean up your existing data All these goals are good to try to achieve, but not at once. Most of all, when starting to learn GIS and starting to

Re: [mapserver-users] mapfile: displaying a feature from a shapefile.

2009-01-26 Thread Christy Nieman
Hi, As already mentioned, what is missing is the LABELITEM in your layer definition. Without this, MapServer will not know what attribute to use for labelling. Your layer should look something like this: # Road tracks LAYER NAME 'mytown' TYPE LINE DATA

Re: [mapserver-users] plz response immediate(msSaveImageGD(): Unable to open file for writing)

2009-01-26 Thread Jeff McKenna
Amiya Patra wrote: Hi, Thanks for reply. I tried all those steps found at the URL which you sent. But, still it's not working. The same file works fine in Linux. I got the following error: *Warning*: [MapServer Error]: msSaveImageGD(): Unable to open file ./../temp/363403.gif for writing

Re: [mapserver-users] SLD and antialiasing

2009-01-26 Thread Yewondwossen Assefa
Peter Sykora wrote: Hi all, I would like to create a WMS with antialiased Polygons. The ANTIALIAS true statement in the style object works fine until I use an SLD to style my polygons. See the difference: - Styling with mapfile

Re: [mapserver-users] Get Feature Info into gmaps balloon

2009-01-26 Thread gzambotti
many thanks Guillaume it works fine now! Best Giovanni On Fri, Jan 23, 2009 at 5:42 PM, Guillaume Sueur-2 (via Nabble) ml-user+137812-417701...@n2.nabble.comml-user%2b137812-417701...@n2.nabble.com wrote: try with : using unique gid in your data string regards guillaume gzambotti a

RE: [mapserver-users] Dynamin SQL with mapserver CGI?

2009-01-26 Thread Fawcett, David
Of course, part of security is also having your application hit your database as a user that only has the rights that it needs. If your user only has select rights on only the data that you want to expose, that should help limit some of these issues. -Original Message-

[mapserver-users] GIS and GPS

2009-01-26 Thread Rafael chacón
Hello, I'm trying to develop an application that takes points input from a GPS ... And I would like to realize when those points enter at certain points .. Suppose a state or cities... I'm working with Mapserver and PostGIS .. Someone can give me an idea of how to accomplish this? Thanks in

[mapserver-users] .img raster file (8 bit and 1 band)

2009-01-26 Thread simone.frigerio
Dear All! 1) I have an .img raster file (8 bit and 1 band) to put inside mapfile. Pixel value goes from 0 to 255 (field value) there are also other filed of information that I want to use to classify my layer. This is a draft of the layer table: OID value sin 0 0

[mapserver-users] Question about formats

2009-01-26 Thread David Martinez Morata
Hello. I have a question about the input formats for Mapserver. They take de dxf format? Thanks -- Martinez Morata David Thinking GIS ___ mapserver-users mailing list mapserver-users@lists.osgeo.org

Re: [mapserver-users] Question about formats

2009-01-26 Thread Frank Warmerdam
David Martinez Morata wrote: Hello. I have a question about the input formats for Mapserver. They take de dxf format? David, No, currently it is not practical to read DXF directly in MapServer. You will need to translate it to supported format externally. Best regards, --

Re: [mapserver-users] Get Feature Info into gmaps balloon

2009-01-26 Thread gzambotti
Hi Guillaume, Perhaps you have some idea... I would like to have more control on GetFeatureInfo into my Google Maps balloon. For instance instead of seeing: GetFeatureInfo results: Search returned no results when I don't have information. I would like to see something like (No info for

RE: [mapserver-users] Dynamin SQL with mapserver CGI?

2009-01-26 Thread Steve Lime
In addition, one can and should apply validation patterns to variables used in SQL. That way MapServer can test the input data before handing off to PostGIS or whatever. These patterns are set in LAYER metadata. For example: LAYER ... DATA'the_geom FROM (SELECT the_geom FROM my_table WHERE

RE: [mapserver-users] Question about formats

2009-01-26 Thread Venkat Rao Tammineni
Hi, As per my Knowledge, mapserver will not take dxf file formats. You have to convert into shape file and you can use the shp as you input. Thanks and regards Venkat. From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of

RE: [mapserver-users] GIS and GPS

2009-01-26 Thread Morten Sickel
Raphael, As far as I can understand, what you are trying to do is what is known as an overlay I don't know how to do that in mapserver / PostGIS, but I would guess some kind of spatial query in postgis should help you. best wishes Morten Sickel From: