Re: [mapserver-users] making pgrouting shortest distance function run with mapserver

2012-06-11 Thread Annu Anurag
Thank you sir. I will definitely do so. Thanks for the help. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] making pgrouting shortest distance function run with mapserver

2012-06-11 Thread Stephen Woodbridge
You need to get your query working in psql or pgadmin first and you should move your pgrouting questions over the the pgrouting list. I would also recommend that you work your way through a pgrouting tutorial. If you work through the steps to setup pgrouting and have a working model then it i

Re: [mapserver-users] making pgrouting shortest distance function run with mapserver

2012-06-11 Thread Annu Anurag
Yes sir. That worked. But I'm still getting an error: msDrawMap(): Image handling error. Failed to draw layer named 'route'. msPostGISLayerWhichShapes(): Query error. Error executing query: ERROR: column "source" does not exist LINE 1: SELECT gid AS id, source::int4, target::int4, length::double..

Re: [mapserver-users] Circles around points in miles

2012-06-11 Thread Ian Walberg
Ok, so the MAP level units need to be set to the unit of the projection. That means in this case they need to be meters. Works now. Ian -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Ian Walberg Sent: Monda

Re: [mapserver-users] making pgrouting shortest distance function run with mapserver

2012-06-11 Thread Stephen Woodbridge
On 6/11/2012 10:51 PM, Annu Anurag wrote: Yes sir. I rectified that flaw. But now mapserver is throwing this error: msDrawMap(): Image handling error. Failed to draw layer named 'route'. msPostGISLayerWhichShapes(): Query error. Error executing query: ERROR: column "gid" does not exist LINE 1: .

Re: [mapserver-users] Circles around points in miles

2012-06-11 Thread Ian Walberg
Arnd, Maybe. We had assumed that the UNITS for the layer would stay the same for different projections. Thanks Ian Below is a map file with the settings we are using. The Extent and projection are commented out for the test. With the projection set to "init=epsg:4326" the circles appear the

Re: [mapserver-users] MapFile ClassItem Expression on in-linefeatures

2012-06-11 Thread Ian Walberg
Steve, Oops, looks like I volunteered to raise an issue for someone else's problem. Need to pay attention, I thought you were replying to mine. Regards Ian -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Ian

Re: [mapserver-users] making pgrouting shortest distance function run with mapserver

2012-06-11 Thread Annu Anurag
Yes sir. I rectified that flaw. But now mapserver is throwing this error: msDrawMap(): Image handling error. Failed to draw layer named 'route'. msPostGISLayerWhichShapes(): Query error. Error executing query: ERROR: column "gid" does not exist LINE 1: ...ary(ST_Force_2D("the_geom"),'NDR'),'hex')

Re: [mapserver-users] making pgrouting shortest distance function run with mapserver

2012-06-11 Thread Stephen Woodbridge
On 6/11/2012 9:58 PM, Annu Anurag wrote: Dear Stephen sir, I tried your suggestion sir. But I'm still having some errors. Is there something wrong with the syntax of the statement? I changed the line in my code to this as you had suggested: DATA "the_geom from (select b.the_geom, a.* FROM (SELEC

Re: [mapserver-users] making pgrouting shortest distance function run with mapserver

2012-06-11 Thread Annu Anurag
Dear Stephen sir, I tried your suggestion sir. But I'm still having some errors. Is there something wrong with the syntax of the statement? I changed the line in my code to this as you had suggested: DATA "the_geom from (select b.the_geom, a.* FROM (SELECT * FROM shortest_path('SELECT gid AS id, s

Re: [mapserver-users] Circles around points in miles

2012-06-11 Thread Arnd Wippermann
Hello, Most likely the radius of your circles is to small for the extent you choose Arnd -Ursprüngliche Nachricht- Von: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] Im Auftrag von Ian Walberg Gesendet: Montag, 11. Juni 2012 18:37 An: Lime, Stev

[mapserver-users] nad to nad grid shifts

2012-06-11 Thread Travis Kirstine
I have a wms server and would like to support multiple NAD projections (csrs, 83, 27). Is it possible to utilize any / multiple grid shift files If so how ? Thanks ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org

Re: [mapserver-users] MapFile ClassItem Expression on in-line features

2012-06-11 Thread Lime, Steve D (DNR)
Issues are created via Github, see: https://github.com/mapserver/mapserver/issues Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of StevenHin [steven_...@golder.com] Sent: Monday, June 11, 2012

Re: [mapserver-users] MapFile ClassItem Expression on in-line features

2012-06-11 Thread StevenHin
Hi Steve, I am a newbie here, could you point some directions where I can create a trouble ticket? Thanks for looking into this issue. Regards, Steven. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/MapFile-ClassItem-Expression-on-in-line-features-tp4979849p4980525.html

Re: [mapserver-users] MapFile ClassItem Expression on in-line features

2012-06-11 Thread Ian Walberg
Steve, Happy to raise a ticket. We are also happy to investigate a bit deeper if anyone can point us in the right direction. Regards Ian -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Lime, Steve D (DNR) Se

Re: [mapserver-users] MapFile ClassItem Expression on in-line features

2012-06-11 Thread Lime, Steve D (DNR)
I can replicate the behavior locally. Seems like a bug to me... Will investigate. Could I trouble you to create a ticket? Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of StevenHin Sent: Thursday, June 0

Re: [mapserver-users] Circles around points in miles

2012-06-11 Thread Ian Walberg
Steve, Below is a map file with the settings we are using. The Extent and projection are commented out for the test. With the projection set to "init=epsg:4326" the circles appear the size we expect. With projection set to "proj=orth" and the extent changed to EXTENT -20 -20 20 2000

Re: [mapserver-users] [mapserver-dev] Maps for 16 bit displays

2012-06-11 Thread Ian Walberg
Thomas, While creating image files in the 565 format would be ideal this is not required. What we do need is to be able to create images that look good when displayed using a video card in 16 bit colour depth. As you suggest we are looking at reducing/dithering the images from 24 bit to 16 bit

Re: [mapserver-users] [mapserver-dev] Maps for 16 bit displays

2012-06-11 Thread thomas bonfort
Ian, I don't believe it is currently possible to render 16bit images. However, I'm pretty certain PNG does not support 565 encoding, and couldn't find any reference as to whether jpeg can either. Unless you are accessing the image bytes directly from the mapserver library (which I suspect you are n

Re: [mapserver-users] Mapserver/PostGIS Faster Initial Load Time

2012-06-11 Thread Donald Kerr
Mike, It is very likely that tinkering with IIS will result in faster initial rendering but, from some experiments that I've carried out today, Apache wins hands down. I have now managed to create a "pre-load" page that runs on boot up. Basically, this is a page that loads a map via IIS or Apache

Re: [mapserver-users] 6.0.2 International Dateline Layer with HATCHED Symbol Causes Hanging Processes

2012-06-11 Thread thomas bonfort
yup, definitely, please provide a testcase where this can be reproduced. -- thomas On Fri, Jun 8, 2012 at 3:12 PM, Lime, Steve D (DNR) wrote: > I agree, please create a ticket along with a simple test case. -Steve > > > From: mapserver-users-boun...@lists.

Re: [mapserver-users] File size of generated PNG

2012-06-11 Thread thomas bonfort
On Sat, Jun 9, 2012 at 6:56 AM, Jackey Cheung wrote: > Some background first. I'm currently using MapServer + TileCache, and > planning to try out the new MapCache stuff. While using MS+TC, there was a > headache bothers me. Although not specific to MS, I'm not sure where to > start, so posting he

Re: [mapserver-users] mapcache - transparency, surrounding area color, performance when assembling images (pink tiles)

2012-06-11 Thread thomas bonfort
On Mon, Jun 11, 2012 at 4:32 PM, Mark Volz wrote: > Hello, > > First,  I am having trouble figuring out how to get transparency to work in > mapcache when using a Mapserver/WMS source.  Does anyone have an example of > how to store a transparent mapcache with a Mapserver wms source? make the tile

Re: [mapserver-users] Circles around points in miles

2012-06-11 Thread Lime, Steve D (DNR)
What are the UNITs set to with "proj=ortho"? -Original Message- From: Ian Walberg [mailto:ian.walb...@airborne.aero] Sent: Friday, June 08, 2012 7:19 PM To: mapserver-users@lists.osgeo.org Cc: Lime, Steve D (DNR) Subject: RE: [mapserver-users] RE: Circles around points in miles This ques

[mapserver-users] mapcache - transparency, surrounding area color, performance when assembling images (pink tiles)

2012-06-11 Thread Mark Volz
Hello, First, I am having trouble figuring out how to get transparency to work in mapcache when using a Mapserver/WMS source. Does anyone have an example of how to store a transparent mapcache with a Mapserver wms source? Next, The color of my cache is fine, however the surrounding area outs

Re: [mapserver-users] making pgrouting shortest distance function run with mapserver

2012-06-11 Thread Stephen Woodbridge
Annu, This page is in error: http://www.pgrouting.org/docs/howto/mapserver.html The result of the dijkstra_sp() function returns a record set like: vertex_id | edge_id | cost which does not contain a geometry column. To get the geometry column which is in your dourol table you need to join

[mapserver-users] making pgrouting shortest distance function run with mapserver

2012-06-11 Thread Annu Anurag
Dear friends. I'm new to pgrouting. It is part of my M.Tech thesis. I need to route from one point to another using dijkstra's algorithm. I intend to use pgrouting for it. I tried to follow the documentation of pgrouting along with some forum posts on websites. But despite having tried many combina

[mapserver-users] Mapscript Java Interface for 64 Bit Java Version?

2012-06-11 Thread Jacob Mendt
Hello List. I appreciate the work which is done around the mapserver. Right now I try to use the java mapscript interface and I got the following issue. I already got the java mapscript interface running. But right now it is only working with a 32-bit java version. My question is now, if ther