[mapserver-users] FEATUREQUERY with SLAYER

2014-06-24 Thread Weisbender, Eric
Hello List, I was wondering if there is an example of how to use FEATUREQUERY with SLAYER somewhere that I could reference for a project I am working on where I need to query features that intersect another feature. Thanks EW ___ mapserver-users

Re: [mapserver-users] PostGIS Connection Failure

2014-06-24 Thread Krishna Priya Patury
Hi All, Any other ideas? The map server application installed outside of my Centos VM can connect to the Postgres database on the VM. I can also connect to the database both from within and outside the VM using psql. I believe the Mapserver installation on my VM is fine too as my shp2img and

Re: [mapserver-users] PostGIS Connection Failure

2014-06-24 Thread Krishna Priya Patury
Just wanted to add, when I do a service iptables status, it is says Firewall is not running. On Tue, Jun 24, 2014 at 9:30 AM, Krishna Priya Patury krishna.pat...@gmail.com wrote: Hi All, Any other ideas? The map server application installed outside of my Centos VM can connect to the

[mapserver-users] htdocs settings and mapfile status

2014-06-24 Thread Stefanos Anastasiou
Hi list.  I have two questions that are confusing me a little bit. First of all I am keeping all my HTML template files /usr/local/apache2/htdocs.  This folder has read-only permission settings by default so every time I want to edit/create a template I use nano or pico through terminal with

Re: [mapserver-users] htdocs settings and mapfile status

2014-06-24 Thread Basques, Bob (CI-StPaul)
On 6/24/14 9:24 AM, Stefanos Anastasiou wrote: Hi list. I have two questions that are confusing me a little bit. First of all I am keeping all my HTML template files /usr/local/apache2/htdocs. This folder has read-only permission settings by default so every time I want to edit/create a

Re: [mapserver-users] FEATUREQUERY with SLAYER

2014-06-24 Thread Lime, Steve D (MNIT)
I've used it successfully in a number of places, here's one example: http://deli.dnr.state.mn.us/data_search.html The search by county option uses mode=featurenquery. I can provide more detail if you need it since much of the configuration (and there's not much to it) is in the mapfile.

[mapserver-users] SIZEUNITS set to meters

2014-06-24 Thread Kalbermatten Michaël
Hi list, I'm trying to render a road given a certain width in meters. To achieve that, I did use SIZEUNITS METERS in the LAYER definition. I'm using this layer via WMS in QGIS. At small scales (1:10'000), this is working great, the roads is well-sized regarding its real width, but as soon as

Re: [mapserver-users] FEATUREQUERY with SLAYER

2014-06-24 Thread Weisbender, Eric
Thanks Steve, I think a look at the mapfile would be helpful. Here is my scenario... I have a file with multiple linear features in it. I would like to type in a line name and return all the polygons that intersect that line. I think I'm close but I just need to understand better how

Re: [mapserver-users] FEATUREQUERY with SLAYER

2014-06-24 Thread Lime, Steve D (MNIT)
So you'll be doing a mode=itemfeaturenquery or itemfeaturequery. The difference is in the number of features the initial attribute query can match n or 1. The mapfile won't help much. The only trick here is getting the line layer setup correctly for attribute queries. Basically, besides being

Re: [mapserver-users] Valid extents for shape file, World Wind WMS Client

2014-06-24 Thread Lime, Steve D (MNIT)
Hi Jonathan: Looking at the Houston zip file one sees the .prj file references Google Mercator. So that's what you need to define for your layer. Here's the new mapfile... You don't need to mention anything about geographic coordinates here other than the fact you support requests in that srs.

[mapserver-users] Map data strategy

2014-06-24 Thread Malm Paul
Hi, I've just started using Mapserver and have a question, that could help me to cut corners. 1) I have a lot of S57 charts in different scale groups 1-6. 2) It should be simple to maintain the map data (a lot of upgrades). 3) Of course, it should be fast. Strategy of today: I