Re: [mapserver-users] Point lables and tiles

2009-05-29 Thread paalkr

Hi!

OK, thanks! I guess that MapScript is the way to go then. 



Steve Lime wrote:
 
 Not within MapServer proper. The various tiling services use this
 metatile approach so it does work. You'd need
 an intermediary script to do the clipping for you.
 
 Steve
 
 On 5/28/2009 at 8:36 AM, in message
 1243517779820-2987684.p...@n2.nabble.com,
 paalkr pal.kristen...@statkart.no wrote:
 
 Hi!
 
 OK, are there any methods that could be used to let MapServer produce
 a
 bigger image and then chop off excess area before sending the image
 to the
 client? I think that this would be the easiest and most flexible
 solution.
 
 Regards,
 Pål Kristensen
 
 
 
 Thomas Bonfort-2 wrote:
 
 it doesn't put any labels in the 10 outermost pixels surrounding
 the
 generated image (as they are chopped off by tilecache's metabuffer)
 
 thomas
 
 --
 www.camptocamp.com 
 +33 4 79 26 57 97
 
 
 
 On Mon, May 25, 2009 at 16:45, paalkr pal.kristen...@statkart.no
 wrote:

 Hi!

 Thanks for the hint! The problem is that I'm using GeoWebCache and
 not
 tilecache :) Is the
 METADATA
labelcache_map_edge_buffer -10
END
 a MapServer keyword? What does it do exactly?

 Any other possible solutions?

 Regards,
 Pål Kristensen


 Thomas Bonfort-2 wrote:


 http://lists.osgeo.org/pipermail/mapserver-users/2009-March/060214.html
 

 regards,
 thomas

 --
 www.camptocamp.com 
 +33 4 79 26 57 97



 On Mon, May 25, 2009 at 15:00, paalkr
 pal.kristen...@statkart.no
 wrote:

 Hi!

 When creating tiles for my tilecache I have some issues regarding
 point
 labels. Using the PROCESSING label_no_clip=true works for line
 and
 polygon
 labels, but points has not area/size and will therefor newer be
 present
 in
 two neighbouring tiles. The result are clipped labels because
 only one
 tile
 will ever know about the presence of a point. If then the label
 should
 have
 been rendered into the next tile, it will be clipped. Metatiles
 (requesting
 more than one tile at a time and splitting it up on the tile
 server)
 helps,
 but only a little, as the same problem will occur between
 metatiles.

 A solution would be that MapServer rendered each tile (map) some
 percentage
 larger than requested, and then chops of the excess area before
 delivering
 the final map. A setting at the MAP level of the mapfile
 controlling
 this
 grow mechanism would be great, defining the percentage the map
 shall
 be
 extended before rendering.

 Second, is there any other way to solve the issue? Especially if
 there
 are
 already features in MapServer that can be used.

 Regards,
 Pål Kristensen



 -

 Regards,
 Pål Kristensen
 --
 View this message in context:

 http://n2.nabble.com/Point-lables-and-tiles-tp2969528p2969528.html 
 Sent from the Mapserver - User mailing list archive at
 Nabble.com.

 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org 
 http://lists.osgeo.org/mailman/listinfo/mapserver-users 

 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org 
 http://lists.osgeo.org/mailman/listinfo/mapserver-users 




 -

 Regards,
 Pål Kristensen
 --
 View this message in context:
 http://n2.nabble.com/Point-labels-and-tiles-tp2969528p2969950.html
 
 Sent from the Mapserver - User mailing list archive at Nabble.com.

 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org 
 http://lists.osgeo.org/mailman/listinfo/mapserver-users 

 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org 
 http://lists.osgeo.org/mailman/listinfo/mapserver-users 
 
 
 
 
 -
 
 Regards,
 Pål Kristensen
 -- 
 View this message in context: 
 http://n2.nabble.com/Point-labels-and-tiles-tp2969528p2987684.html 
 Sent from the Mapserver - User mailing list archive at Nabble.com.
 
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org 
 http://lists.osgeo.org/mailman/listinfo/mapserver-users
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users
 
 


-

Regards,
Pål Kristensen
-- 
View this message in context: 
http://n2.nabble.com/Point-labels-and-tiles-tp2969528p2992303.html
Sent from the Mapserver - User mailing list archive at Nabble.com.

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Finding the centroid given the feature

2009-05-29 Thread Varun saraf
I am using mapserver 5.0 with google maps and the data source is the
US Census tracts as shape files and dbf files.

On Thu, May 28, 2009 at 2:12 PM, Steve Lime steve.l...@dnr.state.mn.us wrote:
 What version are you using? What data source?

 Steve

 On 5/28/2009 at 10:01 AM, in message
 6db14d250905280801q3660a6a7ycbcd5f5a238c5...@mail.gmail.com, Varun saraf
 vsaraf@gmail.com wrote:
 Hi,

 I know mapserver uses a point-in-polygon method to find a feature
 given a set of co-ordinates, but can it do the same thing reversed?
 For example. Each polygon I draw has a number associated with it which
 is in a dbf file with the same name as the shp file that mapserver
 uses to draw the polygons. My current map file allows me to fetch that
 unique number whenever I pass the co-ordinates of any point inside
 that polygon (mapserver uses the point-in-polygon method to fetch me
 the polygonID). The query I use is

 http://127.0.0.1:8123/cgi-bin/mapserv.exe?map=C:/ms4w/apps/workshop-5.0/testMa
 p.mapmode=querymapxy=-77.098617
 38.87795

 where mapxy keeps changing based on the user's click. The html
 template I send just has the variable name [polygonID] which helps me
 get the polygon ID of the point I specify in the mapxy variable. Now,
 is there a way in which I can send this polygonID to mapserver and get
 hold of any point (perhaps the centroid) inside of this polygon? Can
 someone point me in the right direction here?

 Thanks a lot.

 -Varun
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Re: Upgrading 5.2 - 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG?

2009-05-29 Thread Paul james
Just some more information about the problem...
The error was generated by IIS (5.1 and 6.0) ... Looking the Logfile, It is
a 502 error :

*502* - Web server received an invalid response while acting as a gateway or
proxy.

*502.1* - CGI application timeout.
*502.2* - Error in CGI application.

It only happens with Mapserver 5.4 ... With 5.2 version, thats 100%
working...

Paul

On Thu, May 28, 2009 at 5:43 PM, Paul james paulj...@gmail.com wrote:

 I got that error when try to enter :
 http://localhost/cgi-bin/mapserv.exe?map=C:/map.map
 CGI ErrorThe specified CGI application misbehaved by not returning a
 complete set of HTTP headers. The headers it did return are:


 My Map:

 MAP
 EXTENT -79.7892 -34.2426 -24.9958 6.11775
 FONTSET Fonts\Fonts.txt
 IMAGECOLOR 230 254 254
 IMAGETYPE png
 SIZE 800 600
 STATUS ON
 UNITS dd
 NAME Test

 OUTPUTFORMAT
 NAME png
 MIMETYPE image/png
 DRIVER GD/PNG
 EXTENSION png
 IMAGEMODE PC256
 TRANSPARENT FALSE
 END

 PROJECTION
 'proj=longlat'
 'ellps=WGS84'
 'datum=WGS84'
 'no_defs'
 END

 WEB
 IMAGEPATH 'C:\map\temp'
 IMAGEURL '/tmp/'
 QUERYFORMAT text/html
 LEGENDFORMAT text/html
 BROWSEFORMAT text/html
 END

 QUERYMAP
 COLOR 255 0 0
 SIZE -1 -1
 STATUS ON
 STYLE hilite
 END

 REFERENCE
 EXTENT -79.7892 -34.2426 -24.9958 6.11775
 STATUS on
 SIZE 221 150
 MINBOXSIZE 5
 MAXBOXSIZE 150
 COLOR -1 -1 -1
 OUTLINECOLOR 255 0 0
 MARKERSIZE 8
 END

 LAYER
 NAME Test
 GROUP Tests
 TYPE POLYGON
 STATUS default
 CONNECTIONTYPE POSTGIS
 CONNECTION user=xpassword=xdbname=x host=x port=5432
 DATA the_geom from viwgeo_x USING UNIQUE oid USING SRID=-1
 CLASS
 COLOR 255 0 255
 END
 END

 END



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Re: Upgrading 5.2 - 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG?

2009-05-29 Thread Daniel Morissette

Paul james wrote:

Just some more information about the problem...
The error was generated by IIS (5.1 and 6.0) ... Looking the Logfile, It 
is a 502 error :


*502* - Web server received an invalid response while acting as a 
gateway or proxy.


*502.1* - CGI application timeout.
*502.2* - Error in CGI application.

It only happens with Mapserver 5.4 ... With 5.2 version, thats 100% 
working...




Where did you get your binaries? Are you using MS4W?

This may be a sign of a problem with your build or bug in MapServer, but 
we'd need a testcase to reproduce it in order to help. I tried just 
loading your mapfile and get the following error:


loadReferenceMap(): General error message. No image defined for the 
reference map.


I don't know if that's an indication of the problem, but anyway, if the 
502 error persists you could try to package a small testcase (mapfile + 
data + test url) that can be used to reproduce the issue and file a ticket.


Daniel
--
Daniel Morissette
http://www.mapgears.com/
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Really general question about Mapfiles and GetMap requests

2009-05-29 Thread Robert Hicks
In a GetMap request what are the arguments 'height' and 'width' measured in?
Pixels?
Also what does changing RESOLUTION and SIZE in a mapfile actually do?

MAP
  ...

RESOLUTION 300

SIZE 1667 1667

  ...

END

Thanks!
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Re: Upgrading 5.2 - 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG?

2009-05-29 Thread Paul james
Hi Daniel...
I got the binaries from Tamas build :
http://vbkto.dyndns.org:1280/sdk/Default.aspx
And from MS4W 3.0 beta2...
Same result with both...

That error you got is my fault... I took off the :
IMAGE ..\Map.png
from REFERENCE definition when copy the code to email...

My application works fine with 5.2 binary in iis 5.1 and 6.0
Just replacing with 5.4 binary I got that 502 error...

Paul

On Fri, May 29, 2009 at 12:20 PM, Daniel Morissette 
dmorisse...@mapgears.com wrote:

 Paul james wrote:

 Just some more information about the problem...
 The error was generated by IIS (5.1 and 6.0) ... Looking the Logfile, It
 is a 502 error :

 *502* - Web server received an invalid response while acting as a gateway
 or proxy.

*502.1* - CGI application timeout.
*502.2* - Error in CGI application.

 It only happens with Mapserver 5.4 ... With 5.2 version, thats 100%
 working...


 Where did you get your binaries? Are you using MS4W?

 This may be a sign of a problem with your build or bug in MapServer, but
 we'd need a testcase to reproduce it in order to help. I tried just loading
 your mapfile and get the following error:

 loadReferenceMap(): General error message. No image defined for the
 reference map.

 I don't know if that's an indication of the problem, but anyway, if the 502
 error persists you could try to package a small testcase (mapfile + data +
 test url) that can be used to reproduce the issue and file a ticket.

 Daniel
 --
 Daniel Morissette
 http://www.mapgears.com/

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] Really general question about Mapfiles and GetMaprequests

2009-05-29 Thread Fawcett, David
Robert, 
 
For GetMap, height and width are measured in pixels.  
 
I would like to just point you to
http://www.opengeospatial.org/standards/wms  , but nothing is
particularly easy to glean from the OGC...  Plus, I will have to put in
a request to my Attorney General staff before I can click through the
giant legal agreement required to view the WMS spec.  Seriously, what
the #$%!
 
 
 
For the map file info, look here:  http://mapserver.org/mapfile/map.html
From that page: 
 
SIZE [x][y]
Size in pixels of the output image (i.e. the map).
 
RESOLUTION [int]
Sets the pixels per inch for output, only affects scale computations and
nothing else, default is 72.
 
I don't believe that SIZE comes into play when you are requesting a
layer as WMS because you are required to specify height and width in
your getMap request.
 
 
 
 
 
 
 

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Robert
Hicks
Sent: Friday, May 29, 2009 10:36 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Really general question about
Mapfiles and GetMaprequests


In a GetMap request what are the arguments 'height' and 'width'
measured in? Pixels? 


Also what does changing RESOLUTION and SIZE in a mapfile
actually do?

MAP
  ...

RESOLUTION 300

SIZE 1667 1667

  ...

END


Thanks! 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Really general question about Mapfiles and GetMap requests

2009-05-29 Thread Alexandre Dube

Hi,

Robert Hicks wrote:
In a GetMap request what are the arguments 'height' and 'width' 
measured in? Pixels?




Yes, it's in pixels.


Also what does changing RESOLUTION and SIZE in a mapfile actually do?



http://mapserver.org/mapfile/map.html

See RESOLUTION and SIZE

If you use the mapserver cgi to draw your map (mode=map ), then the map 
draw will have the SIZE defined in your mapfile.


See : http://mapserver.org/cgi/controls.html to know more about 
mapserver cgi.



MAP
  ...

RESOLUTION 300

SIZE 1667 1667

  ...

END


Thanks!


Regards,

Alexandre




___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  



--
Alexandre Dubé
Mapgears
www.mapgears.com

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Re: Upgrading 5.2 - 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG?

2009-05-29 Thread Daniel Morissette

Paul james wrote:

Hi Daniel...
I got the binaries from Tamas build : 
http://vbkto.dyndns.org:1280/sdk/Default.aspx

And from MS4W 3.0 beta2...
Same result with both...

That error you got is my fault... I took off the :
IMAGE ..\Map.png
from REFERENCE definition when copy the code to email...

My application works fine with 5.2 binary in iis 5.1 and 6.0
Just replacing with 5.4 binary I got that 502 error...



Hopefully you always make sure you update all DLLs as well when you 
replace with 5.4 binary? Even if the DLLs have the same names, if they 
come from different build environments or versions they may not be 
compatible and could cause the kind of crashes that you are experiencing.


Daniel
--
Daniel Morissette
http://www.mapgears.com/
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Re: Upgrading 5.2 - 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG?

2009-05-29 Thread Paul james
Yes Daniel...  I deleted all previous files and put only 5.4 files... My
mapscript application is working fine on 5.4...
But the CGI dont...
Tested on Windows XP (IIS 5.1) and Windows 2003(IIS 6.0)...

Paul

On Fri, May 29, 2009 at 12:56 PM, Daniel Morissette 
dmorisse...@mapgears.com wrote:

 Paul james wrote:

 Hi Daniel...
 I got the binaries from Tamas build :
 http://vbkto.dyndns.org:1280/sdk/Default.aspx
 And from MS4W 3.0 beta2...
 Same result with both...

 That error you got is my fault... I took off the :
 IMAGE ..\Map.png
 from REFERENCE definition when copy the code to email...

 My application works fine with 5.2 binary in iis 5.1 and 6.0
 Just replacing with 5.4 binary I got that 502 error...


 Hopefully you always make sure you update all DLLs as well when you
 replace with 5.4 binary? Even if the DLLs have the same names, if they
 come from different build environments or versions they may not be
 compatible and could cause the kind of crashes that you are experiencing.


 Daniel
 --
 Daniel Morissette
 http://www.mapgears.com/

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Place names...?

2009-05-29 Thread Chris Green
Hi all

 

Apologies in advance if this turns out to be a stupid question, but I can't
find a way to make Map Server  v5.0 display place names. I have created a
shape file with points for towns and cities, each of which has a label. If I
check this layer with Quantum GIS (which I used to create the points) I can
display both the points and the labels showing town and city names. However
when I define this layer in the mapfile with type 'point' MapServer gives me
a display of the points but not the labels.  If I define it as type
'annotation' I don't see either points or labels. I feel sure I am missing
something obvious but after quite a few hours I am stuck.  Can anyone
suggest what I am doing wrong?

 

 

Chris Green

 

 

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] Place names...?

2009-05-29 Thread James Leveille
Hi Chris,

 

In order to help us help you, give us an overview of you code ...

It should work fine with POINT.

 

Here is a working example :

 

 

  LAYER

 

NAME  pd_p_bldg

STATUSON

DUMP  TRUE

 

PROJECTION

. . . 

END

METADATA

. . . 

END

 

EXTENT300 0 1000 500

 

DATA  pd_p/subset_pd_p

TYPE  POINT

 

LABELITEM bldg_label

 

CLASS

  STYLE

SYMBOLsingle_building

  END

  LABEL

TYPE  TRUETYPE

FONT  times-bold

SIZE  11

POSITION  AUTO

COLOR 227 119 0

OUTLINECOLOR  250 250 250

PARTIALS  FALSE

  END

END

 

  END

 

 

 

 

 



James 

 

 

 

De : mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] De la part de Chris Green
Envoyé : 29 mai 2009 13:42
À : mapserver-users@lists.osgeo.org
Objet : [mapserver-users] Place names...?

 

Hi all

 

Apologies in advance if this turns out to be a stupid question, but I can't 
find a way to make Map Server  v5.0 display place names. I have created a shape 
file with points for towns and cities, each of which has a label. If I check 
this layer with Quantum GIS (which I used to create the points) I can display 
both the points and the labels showing town and city names. However when I 
define this layer in the mapfile with type 'point' MapServer gives me a display 
of the points but not the labels.  If I define it as type 'annotation' I don't 
see either points or labels. I feel sure I am missing something obvious but 
after quite a few hours I am stuck.  Can anyone suggest what I am doing wrong?

 

 

Chris Green

 

 

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Re: Upgrading 5.2 - 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG?

2009-05-29 Thread Paul james
1 -  I tried with 1500,1400,1310,development version(1500) and ms4w beta...
2 -  I´m using normal CGI
3 - My tests are only with Postgis... I´ll generate a shapefile to test
later ...

Paul

On Fri, May 29, 2009 at 2:27 PM, Tamas Szekeres szeker...@gmail.com wrote:

 Hi Paul,

 Did you experience the same with the release-1310 and release-1400
 versions? Did you experience the same with the development version?
 Are you using fastCGI or normal cgi?
 Is this just a PostGIS related problem or you get the same with a simple
 shapefile?

 Sorry for the bunch of the questions...

 Best regards,

 Tamas



 2009/5/29 Paul james paulj...@gmail.com

 Yes Daniel...  I deleted all previous files and put only 5.4 files... My
 mapscript application is working fine on 5.4...
 But the CGI dont...
 Tested on Windows XP (IIS 5.1) and Windows 2003(IIS 6.0)...

 Paul


 On Fri, May 29, 2009 at 12:56 PM, Daniel Morissette 
 dmorisse...@mapgears.com wrote:

 Paul james wrote:

 Hi Daniel...
 I got the binaries from Tamas build :
 http://vbkto.dyndns.org:1280/sdk/Default.aspx
 And from MS4W 3.0 beta2...
 Same result with both...

 That error you got is my fault... I took off the :
 IMAGE ..\Map.png
 from REFERENCE definition when copy the code to email...

 My application works fine with 5.2 binary in iis 5.1 and 6.0
 Just replacing with 5.4 binary I got that 502 error...


 Hopefully you always make sure you update all DLLs as well when you
 replace with 5.4 binary? Even if the DLLs have the same names, if they
 come from different build environments or versions they may not be
 compatible and could cause the kind of crashes that you are experiencing.


 Daniel
 --
 Daniel Morissette
 http://www.mapgears.com/



 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Re: Upgrading 5.2 - 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG?

2009-05-29 Thread Steve Lime
What's the full URL submitted against the CGI?

 On 5/29/2009 at 12:59 PM, in message
33fad6880905291059i5602a89q84d7673ddcfff...@mail.gmail.com, Paul
james
paulj...@gmail.com wrote:
 1 -  I tried with 1500,1400,1310,development version(1500) and ms4w
beta...
 2 -  Ím using normal CGI
 3 - My tests are only with Postgis... Íll generate a shapefile to
test
 later ...
 
 Paul
 
 On Fri, May 29, 2009 at 2:27 PM, Tamas Szekeres szeker...@gmail.com
wrote:
 
 Hi Paul,

 Did you experience the same with the release-1310 and release-1400
 versions? Did you experience the same with the development version?
 Are you using fastCGI or normal cgi?
 Is this just a PostGIS related problem or you get the same with a
simple
 shapefile?

 Sorry for the bunch of the questions...

 Best regards,

 Tamas



 2009/5/29 Paul james paulj...@gmail.com

 Yes Daniel...  I deleted all previous files and put only 5.4
files... My
 mapscript application is working fine on 5.4...
 But the CGI dont...
 Tested on Windows XP (IIS 5.1) and Windows 2003(IIS 6.0)...

 Paul


 On Fri, May 29, 2009 at 12:56 PM, Daniel Morissette 
 dmorisse...@mapgears.com wrote:

 Paul james wrote:

 Hi Daniel...
 I got the binaries from Tamas build :
 http://vbkto.dyndns.org:1280/sdk/Default.aspx 
 And from MS4W 3.0 beta2...
 Same result with both...

 That error you got is my fault... I took off the :
 IMAGE ..\Map.png
 from REFERENCE definition when copy the code to email...

 My application works fine with 5.2 binary in iis 5.1 and 6.0
 Just replacing with 5.4 binary I got that 502 error...


 Hopefully you always make sure you update all DLLs as well when
you
 replace with 5.4 binary? Even if the DLLs have the same names,
if they
 come from different build environments or versions they may not
be
 compatible and could cause the kind of crashes that you are
experiencing.


 Daniel
 --
 Daniel Morissette
 http://www.mapgears.com/ 



 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org 
 http://lists.osgeo.org/mailman/listinfo/mapserver-users 



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Re: Upgrading 5.2 - 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG?

2009-05-29 Thread Paul james
http://localhost/cgi-bin/mapserv.exe?map=C%3A%2Finetpub%2Fwwwroot%2FOpenlayer%2FFiles%2FMapserver%2FMap.mapmode=mapmap_imagetype=pngmapext=-180+0+-90+90imgext=-180+0+-90+90map_size=256+256imgx=128imgy=128imgxy=256+256

Paul

On Fri, May 29, 2009 at 3:01 PM, Steve Lime steve.l...@dnr.state.mn.uswrote:

 What's the full URL submitted against the CGI?

  On 5/29/2009 at 12:59 PM, in message
 33fad6880905291059i5602a89q84d7673ddcfff...@mail.gmail.com, Paul
 james
 paulj...@gmail.com wrote:
  1 -  I tried with 1500,1400,1310,development version(1500) and ms4w
 beta...
  2 -  Ím using normal CGI
  3 - My tests are only with Postgis... Íll generate a shapefile to
 test
  later ...
 
  Paul
 
  On Fri, May 29, 2009 at 2:27 PM, Tamas Szekeres szeker...@gmail.com
 wrote:
 
  Hi Paul,
 
  Did you experience the same with the release-1310 and release-1400
  versions? Did you experience the same with the development version?
  Are you using fastCGI or normal cgi?
  Is this just a PostGIS related problem or you get the same with a
 simple
  shapefile?
 
  Sorry for the bunch of the questions...
 
  Best regards,
 
  Tamas
 
 
 
  2009/5/29 Paul james paulj...@gmail.com
 
  Yes Daniel...  I deleted all previous files and put only 5.4
 files... My
  mapscript application is working fine on 5.4...
  But the CGI dont...
  Tested on Windows XP (IIS 5.1) and Windows 2003(IIS 6.0)...
 
  Paul
 
 
  On Fri, May 29, 2009 at 12:56 PM, Daniel Morissette 
  dmorisse...@mapgears.com wrote:
 
  Paul james wrote:
 
  Hi Daniel...
  I got the binaries from Tamas build :
  http://vbkto.dyndns.org:1280/sdk/Default.aspx
  And from MS4W 3.0 beta2...
  Same result with both...
 
  That error you got is my fault... I took off the :
  IMAGE ..\Map.png
  from REFERENCE definition when copy the code to email...
 
  My application works fine with 5.2 binary in iis 5.1 and 6.0
  Just replacing with 5.4 binary I got that 502 error...
 
 
  Hopefully you always make sure you update all DLLs as well when
 you
  replace with 5.4 binary? Even if the DLLs have the same names,
 if they
  come from different build environments or versions they may not
 be
  compatible and could cause the kind of crashes that you are
 experiencing.
 
 
  Daniel
  --
  Daniel Morissette
  http://www.mapgears.com/
 
 
 
  ___
  mapserver-users mailing list
  mapserver-users@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/mapserver-users
 
 
 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users