Re: [mapserver-users] mapserver 5 TIFF displaying problem

2008-09-18 Thread Raivo Alla
Hi, Jukka, thank you very much for discussion, it was helpful. For now I found what was wrong. Gabe, maybe it's useful for you too: my mapserv compilation was both with --with-gdal and --with-tiff, when I recompiled it removing native TIFF support (--without-tiff), then this recompilation

Re: AW: [MAPSERVER-USERS] cannot compile --with-fastcgi

2008-09-18 Thread dzizes
Hi! I'am having similar problem. Did you find solution? michal -- View this message in context: http://www.nabble.com/cannot-compile---with-fastcgi-tp15957269p19547800.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___

Re: [mapserver-users] Re: JOIN in a mapfile from a shapefile to a MySQL database

2008-09-18 Thread Minka Stoyanova
Dear Charles, dear list, As I said, I used your piece of map-file code and made the connection. Now I try the same but with another shapefile to another table in the same database, and I receive a segmentation fault of the Apache! Here follows the code from the map-file: - this works just fine

[mapserver-users] geomfromtext (POSTGIS) in C# or other language...

2008-09-18 Thread Paul james
Hello Guys... I´d like to add a point in a Postgis layer... I´m able to do this using geomfromtext function (postgis)... I´d like to do that in C# ... Is that possible? Thankz ___ mapserver-users mailing list mapserver-users@lists.osgeo.org

Re: [mapserver-users] geomfromtext (POSTGIS) in C# or other language...

2008-09-18 Thread Tamas Szekeres
Paul, You could probably use the GDAL C# bindings and the Geometry.CreateFromWkt function for this purpose. For more information see the createdata.cs example in the gdal source tree. Best regards, Tamas 2008/9/18 Paul james [EMAIL PROTECTED]: Hello Guys... I´d like to add a point in a

Re: [mapserver-users] geomfromtext (POSTGIS) in C# or other language...

2008-09-18 Thread Paul james
Thanks Thamas... Thats sounds great... But, after I used Geometry.CreateFromWkt function to convert my geometry, how can I add it to the PostGis Layer? On Thu, Sep 18, 2008 at 12:06 PM, Tamas Szekeres [EMAIL PROTECTED]wrote: Paul, You could probably use the GDAL C# bindings and the

Re: [mapserver-users] GRID or not to GRID (USNG question)

2008-09-18 Thread Brent Fraser
Bob, I get a Username/Password request dialog from the URL... Brent Fraser Bob Basques wrote: All, in the following interface: http://gis.ci.stpaul.mn.us/gis/gismo_public/html/?mapbook=/datasets/CONFIGS/SAINT_PAUL/PUBLIC_WORKS/MAPBOOKS/TS/usng_1st.xml The last two layers in the US

[mapserver-users] Mapserver (CGI/FastCGI) crashes when querying a map

2008-09-18 Thread Carlos Ruiz
Hi list, I have Mapserver 5.0.2 installed on Win32, when I do some queries to my map, the response takes so long and then a window appears saying that CGI/FastCGI crashes. Can someone have some idea why the hell is crashing ? Thanks in advance IC Carlos Ruiz

Re: [mapserver-users] Mapserver (CGI/FastCGI) crashes when querying amap

2008-09-18 Thread Steve Lime
You're going to have to be more specific what the hell you're trying to do. ;-) On 9/18/2008 at 1:43 PM, in message [EMAIL PROTECTED], Carlos Ruiz [EMAIL PROTECTED] wrote: Hi list, I have Mapserver 5.0.2 installed on Win32, when I do some queries to my map, the response takes so long and

Re: [mapserver-users] Using Fast CGI with MapServer to alleviate poor performance

2008-09-18 Thread John Westwood
Hi Paul and other MapServer Gurus, I have discovered a huge speed increase by using OpenLayers.MapServer (native) layers instead of OpenLayers.WMS layers. It is about ten times faster, I do not exaggerate. Why is WMS so slow? I have read that MapServer is a fast WMS server, have I done

Re: [mapserver-users] Using Fast CGI with MapServer to alleviate poor performance

2008-09-18 Thread John Westwood
Okay, maybe not ten times faster - but at least five times as fast - if not more. Anyway, ALOT faster than WMS :) Paul Ramsey [EMAIL PROTECTED] 17/09/08 5:15 PM John, The idea that CGI is naturally a much slower situation than a long-running process is a bit of a red herring in the case of

Re: [mapserver-users] Using Fast CGI with MapServer to alleviate poor performance

2008-09-18 Thread Stephen Woodbridge
John Westwood wrote: Hi Paul and other MapServer Gurus, I have discovered a huge speed increase by using OpenLayers.MapServer (native) layers instead of OpenLayers.WMS layers. It is about ten times faster, I do not exaggerate. Why is WMS so slow? I have read that MapServer is a fast WMS server,

Re: [mapserver-users] Using Fast CGI with MapServer to alleviate poor performance

2008-09-18 Thread Christopher Schmidt
On Thu, Sep 18, 2008 at 08:59:51PM +0100, John Westwood wrote: Hi Paul and other MapServer Gurus, I have discovered a huge speed increase by using OpenLayers.MapServer (native) layers instead of OpenLayers.WMS layers. It is about ten times faster, I do not exaggerate. Why is WMS so slow? I

Re: [mapserver-users] geomfromtext (POSTGIS) in C# or other language...

2008-09-18 Thread Tamas Szekeres
Paul, You should probably do the following steps when creating a new layer from scratch: // Register OGR Ogr.RegisterAll(); // Get the postgis driver Driver drv = Ogr.GetDriverByName(PostgreSQL); // Create the datasource DataSource ds = drv.CreateDataSource( [data source name], new string[]

Re: [mapserver-users] geomfromtext (POSTGIS) in C# or other language...

2008-09-18 Thread Tamas Szekeres
2008/9/18 Paul james [EMAIL PROTECTED]: I got a point from postgis in this format : 01010059405940 It smells like a wkt geometry representation in hexstring format. You should convert this into a binary array and then use Geometry.CreateFromWkb, something like