Re: [mapserver-users] Layer Object Parameter Substitution fromURLusing GIS

2009-04-08 Thread Heiko Schröter
On Dienstag, 7. April 2009 15:52:10 you wrote: Hi Steve, thanks for the clues. I'am probably to dumb for this. Firefox replaces the quot; with and mapserv5.4 complains. I've tried brute force backslashes than but that doesn't work either (of course). I've tried than with a little webpage in

[mapserver-users] instalation of map server

2009-04-08 Thread Aklilu Dinkneh
Dear All I am new user for mapserver i never did something similar before also and i have a problem in the instalation of mapserver. I just followed the steps on the page http://www.mapserver.org/introduction.html#installation-and-requirements but i couldnt manage to complete step 8. and i opened

Re: [mapserver-users] port from Apache to IIS

2009-04-08 Thread Barend Kobben
Hi, Thi worked last year for me, but I run IIS6. If not much changed between 6 and 7, it might help you: 0) Get the latest binaries (eg. the MS4W installation or any other) and install 1) Create a virtual directory in IIS pointing to the dir where mapserv.exe resides (eg. when using ms4w it's

Re: [mapserver-users] Symbol problem

2009-04-08 Thread Christy Nieman
Hi, If you use TYPE ANNOTATION instead of TYPE POINT only the symbols for features that get labelled will be drawn. Regards, -- Christy Nieman GIS Technician DM Solutions Group, Inc. Email: cnie...@dmsolutions.ca Web: http://dmsolutions.ca Web: http://research.dmsolutions.ca Valeria Muñoz

Re: [mapserver-users] Layer Object Parameter Substitution fromURLusing GIS

2009-04-08 Thread Heiko Schröter
On Dienstag, 7. April 2009 15:52:10 you wrote: Hello Steve, this seem to fail as well. Funny enough i needed to change the Layernames to uppercase in OpenLayer. But anyway: snip var kartenstring = karte,grid,psc; var somevalue = FILTER+'orbitnr=4567' ; layer = new

[mapserver-users] Gdal seg fault with mapserver on Ubuntu

2009-04-08 Thread Ray Pendergraph
I am having a problem rendering labels to my map. I am running mapserver from ubuntu intrepid packages (none compiled). Kernel is  2.6.27-7-generic. Since this is obviously a common function I must be doing something wrong in the layer or something in the packages is not meshing. Everything

Re: [mapserver-users] Re: Problem with projection

2009-04-08 Thread John Westwood
Hi There is an spurious symbol in your PROJECTION definition, I'm not sure if that is significant (probably not). Looking at your picture though, it looks like a datum or ellipsoid mismatch. Is your data in WGS84 or some other datum or ellipsoid? Check out the Wikipedia page:

[mapserver-users] RE: port from Apache to IIS

2009-04-08 Thread Mark Volz
Hello, I am also attempting to port from Apache to IIS. In Apache everything works well. In IIS6 I have the following issues: WMS services do not display, PHP code does not seem to work - which run printing functions and the select by buffer functions. I noticed I am getting 404 and 405

Re: [mapserver-users] Re: Problem with projection

2009-04-08 Thread Valeria Muñoz
I think you have psychological problems ... you should not be on this list, *This list is for help not to insult* PD: I send the second mail because I did not put the settings defined in my mapfile in the mail before RG *2009/4/7 NN SS nsanchez...@gmail.com * *you are much imbeci, besides

Re: [mapserver-users] Layer Object Parameter Substitution fromURLusing GIS

2009-04-08 Thread Steve Lime
This one answers your previous question about escaping characters. ;-) You need to use the ascii escape sequences in a URL. Anyway, you're running up against the security controls in place in 5.4. Basically you don't want someone setting a filter to just anything. So, you *must* define a

[mapserver-users] Get the query image of a wms layer

2009-04-08 Thread David Martinez Morata
Hello. I have a little problem with my WMS server, I have a WMS layer in my openlayers (Mapfish) application, and when I request the map, I show My image in the temp directory of my server but y don't show in the Openlayer Map. Any sugestions? Thanks -- Martinez Morata David Thinking GIS --

[mapserver-users] Re: Querying type=circle layer

2009-04-08 Thread Christian Jauvin
I found the answer to my question: You have to manually add a shapeindex value for each feature that you add, and it has to start from zero. Christian On Tue, Apr 7, 2009 at 5:23 PM, Christian Jauvin cjau...@gmail.com wrote: Hi, I use Python-Mapscript 5.2 on Windows. I have a layer of

[mapserver-users] Re: Querying type=circle layer

2009-04-08 Thread Christian Jauvin
Sorry not shapeindex.. index On Wed, Apr 8, 2009 at 11:06 AM, Christian Jauvin cjau...@gmail.com wrote: I found the answer to my question: You have to manually add a shapeindex value for each feature that you add, and it has to start from zero. Christian On Tue, Apr 7, 2009 at 5:23 PM,

Re: [mapserver-users] port from Apache to IIS

2009-04-08 Thread Perry Nacionales
I assume you're talking about this: http://mapserver.org/installation/iis.html Follow that document and you will see there hasn't been that many changes. The IIS manager interface might have changed a little but the permissions is still the same. If you downloaded the MS4W package, there is

[mapserver-users] Re: Querying type=circle layer

2009-04-08 Thread Steve Lime
Querying isn't supported for circles. It's pretty much a display-only layer type, just like annotation. The reason being that queries work on the core geometry type of the data source and not the LAYER TYPE. There is no circle geometry. Doesn't mean it couldn't be done but it would take work

Re: [mapserver-users] getExtent(c#) with Postgis data ...

2009-04-08 Thread Matej
Tamas, thank you. I have tried using Npgsql and mapscript_csharp and I can successfully connect to the database, but now I suppose I need .map files saved locally to get things working? Actually I am in the middle of choosing whether it is better to use SharpMap or Mapserver's C# libraries

[mapserver-users] KML for mapscript Map...

2009-04-08 Thread Paul james
Hello... Is it possible to get KML from Mapscript(c#) map? How? Thanks! ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] PHP MapScript inserting extra parameters into .map file

2009-04-08 Thread Ian
I'm using PHP MapScript to change layers' DATA parameters as the user selects options in an OpenLayers 2.7/MapServer 5.2 WMS setting. This is working fine however I just noticed that extra undefined/unwanted information is being appended to the map file when my script runs. Specifically: STYLE

[mapserver-users] PHP MapScript inserting extra parameters into .map file

2009-04-08 Thread Ian
I'm using PHP MapScript to change layers' DATA parameters as the user selects options in an OpenLayers 2.7/MapServer 5.2 WMS setting. This is working fine however I just noticed that extra undefined/unwanted information is being appended to the map file when my script runs. Specifically: STYLE

Re: [mapserver-users] PHP MapScript inserting extra parameters into .map file

2009-04-08 Thread Daniel Morissette
Ian wrote: I'm using PHP MapScript to change layers' DATA parameters as the user selects options in an OpenLayers 2.7/MapServer 5.2 WMS setting. This is working fine however I just noticed that extra undefined/unwanted information is being appended to the map file when my script runs.

Re: [mapserver-users] getExtent(c#) with Postgis data ...

2009-04-08 Thread Tamas Szekeres
2009/4/8 Matej ma...@matnet.net Tamas, thank you. I have tried using Npgsql and mapscript_csharp and I can successfully connect to the database, but now I suppose I need .map files saved locally to get things working? Not necessarily. You could also build up a map object from scratch and

Re: [mapserver-users] KML for mapscript Map...

2009-04-08 Thread Tamas Szekeres
Rendering as KML is not yet supported by MapServer, but these's an outstanding Google SoC project addressing this issue. Best regards, Tamas 2009/4/8 Paul james paulj...@gmail.com Hello... Is it possible to get KML from Mapscript(c#) map? How? Thanks!

Re: [mapserver-users] KML for mapscript Map...

2009-04-08 Thread Paul james
Thanks again Tamas ! Could you send me the link ? []´s On Wed, Apr 8, 2009 at 6:03 PM, Tamas Szekeres szeker...@gmail.com wrote: Rendering as KML is not yet supported by MapServer, but these's an outstanding Google SoC project addressing this issue. Best regards, Tamas 2009/4/8 Paul

Re: [mapserver-users] KML for mapscript Map...

2009-04-08 Thread Tamas Szekeres
I'm not sure whether it's publicly available to review, but here is the link: http://socghop.appspot.com/student_proposal/review/google/gsoc2009/dk/t123862094398 Best regards, Tamas 2009/4/8 Paul james paulj...@gmail.com Thanks again Tamas ! Could you send me the link ? []´s On

RE: [mapserver-users] KML for mapscript Map...

2009-04-08 Thread Fawcett, David
I am not sure about c#, but with CGI, you can create a query template for your KML as you want it and then use an nquery to build the kml file. David. -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On

Re: [mapserver-users] KML for mapscript Map...

2009-04-08 Thread Steve Lime
While there is not *native* support for KML yet, it is possible to generate it: 1) via templates 2) through straight mapscript (it ain't that complex) by writing your own xml Here's an example of the former: !-- MapServer Template -- ?xml version=1.0 encoding=UTF-8? kml

Re: [mapserver-users] PHP MapScript inserting extra parameters into.map file

2009-04-08 Thread Ian
Alright I've filed an enhancement ticket (http://trac.osgeo.org/mapserver/ticket/2975). I still don't understand why it happens though. Is MapScript defining parameters it feels should be there by default? This extra data is wreaking havoc on some other code and I need to stop it from reaching

Re: [mapserver-users] PHP MapScript inserting extra parameters into.map file

2009-04-08 Thread Steve Lime
All that's happening is MapServer is writing the default values for some of the parameters. The mapfile before and after should be functionally equivalent. Not sure how that would wreak havoc. Your input mapfile is using older syntax (no styles) that the mapfile writer can't/won't produce. So