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. ___ mapse

[mapserver-users] geographical coordinates to utm

2008-09-18 Thread Emilio López Pasamontes
Hi, Might I turn geographical coordinates to utm with Mapserver? Can someone explain to me how to do it, please? Thank you for everything and sorry for my english ___ Emilio López Pasamontes, Área de Desarrollo Servicio de Informática , SGT Consejería de Me

RE: [mapserver-users] geographical coordinates to utm

2008-09-18 Thread Kralidis,Tom [Burlington]
In the context of MapServer, you could use shapeObj->project within Mapscript. You could always achieve this, of course, through pre-processing with proj/ogr2ogr. ..Tom From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emilio López

Re: [mapserver-users] rfc43 gtile returning blank images, while WMS works

2008-09-18 Thread akrherz
On Tue, 9 Sep 2008, [EMAIL PROTECTED] wrote: On Mon, 8 Sep 2008, Paul Ramsey wrote: Nothing leaps out. Are you sure they are equivalent? Zoom level two is pretty far out, do you have scale dependency in that layer? Hi Paul, thanks for the response. I choose a far out zoom level to ensure

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 http://lists

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 P

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 > Geom

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 Nati

Re: [mapserver-users] Flexible queries (to support address lookups)

2008-09-18 Thread Steve Lime
Like I said, there are other users with far more knowledge in this area... ;-) Steve >>> On 9/17/2008 at 2:22 PM, in message <[EMAIL PROTECTED]>, Stephen Woodbridge <[EMAIL PROTECTED]> wrote: > This is one approach to the problem, but it does not deal with the real > problems of matching user en

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

2008-09-18 Thread Paul Ramsey
Connect to the database and run INSERT INTO mytable (the_geom) VALUES (ST_SetSRID(ST_GeometryFromText('blahblah'),)); P. On Thu, Sep 18, 2008 at 8:43 AM, Paul james <[EMAIL PROTECTED]> wrote: > Thanks Thamas... > Thats sounds great... > But, after I used Geometry.CreateFromWkt function to co

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

2008-09-18 Thread Bob Basques
Brent, I figured out the publishing problem (my error) for the Web Interface. This link should work now: http://gis.ci.stpaul.mn.us/gis/gismo_public/html/?mapbook=/datasets/CONFIGS/SAINT_PAUL/PUBLIC_WORKS/MAPBOOKS/TS/usng_1st_public.xml It will give you a better idea of the labeling probl

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

2008-09-18 Thread Paul james
Thanks ... But what I need now is manipulate the geometry values in c#... I got a point from postgis in this format : 01010059405940 I cant use AsText postgis function... So, in my server(c#) I have to Convert that "numbers" to Point to change it ... Any help? On Thu,

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

2008-09-18 Thread John Westwood
Hi Paul, Thanks for the tips, I forgot about trying from the command line and the apache log :) Anyway, I found out the problem was to do with libpq.so.4 (which is a Postgres library) not being found. My colleague had upgraded Postgres, so it wasn't me that broke MapServer afterall ! The new l

[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

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 somethin

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

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 toalleviate poor performance

2008-09-18 Thread Steve Lime
MapServer WMS is just a wrapper around the CGI so they should be very close in speed. It would be interesting to capture actual calls made by OpenLayers and then debug independently. Steve >>> On 9/18/2008 at 2:59 PM, in message <[EMAIL PROTECTED]>, "John Westwood" <[EMAIL PROTECTED]> wrote: > H

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 slo

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 (u

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

2008-09-18 Thread Tamas Szekeres
or wkb (Well-Known Binary) what I wanted to say ;-) http://dev.mysql.com/doc/refman/5.0/en/gis-wkb-format.html Tamas 2008/9/18 Tamas Szekeres <[EMAIL PROTECTED]>: > 2008/9/18 Paul james <[EMAIL PROTECTED]>: > >> I got a point from postgis in this format : >> 010100594000