<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-16523</id>
	<title>Nabble - ms4w-users</title>
	<updated>2009-12-04T06:49:38Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/ms4w-users-f16523.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ms4w-users-f16523.html" />
	<subtitle type="html">&lt;a href=&quot;http://maptools.org/ms4w/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MapServer for Windows&lt;/a&gt;&amp;nbsp;- A preconfigured Web Server environment including MapServer for Microsoft Windows platforms.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26643753</id>
	<title>Re: php-cgi crash with PostGIS</title>
	<published>2009-12-04T06:49:38Z</published>
	<updated>2009-12-04T06:49:38Z</updated>
	<author>
		<name>Jeff McKenna</name>
	</author>
	<content type="html">Johan Forsman wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Jeff, please see bottom for my reply.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26643753&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users-bounces@...&lt;/a&gt; [mailto:ms4w-users-
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26643753&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bounces@...&lt;/a&gt;] On Behalf Of Jeff McKenna
&lt;br&gt;&amp;gt;&amp;gt; Sent: Thursday, December 03, 2009 11:30 AM
&lt;br&gt;&amp;gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26643753&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; Subject: Re: [MS4W-Users] php-cgi crash with PostGIS
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Johan Forsman wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hello All:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I do not know what the proper place to report this issue may be, but I
&lt;br&gt;&amp;gt;&amp;gt; thought I would start here hoping you can steer me in the right direction.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; We have a small, internal to my organization, mapserver on WinXP,
&lt;br&gt;&amp;gt;&amp;gt; currently using MS4W 3.0 beta 6, with GeoMoose 2.0.1, primarily with
&lt;br&gt;&amp;gt;&amp;gt; shapefiles. The query function in GeoMoose is too slow for practical use
&lt;br&gt;&amp;gt;&amp;gt; for a particular point-data set and it was suggested by the developers to
&lt;br&gt;&amp;gt;&amp;gt; try the PostGIS system instead to speed up response time of the query.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I installed and configured PostgreSQL 8.4.0 and PostGIS 1.4 without
&lt;br&gt;&amp;gt;&amp;gt; issues, and I am using pgAdmin to help me along with configuration. I
&lt;br&gt;&amp;gt;&amp;gt; created a new database &amp;quot;sdwp&amp;quot; instead of using the default &amp;quot;postgres&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; database
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I ingested the shapefile into PostGIS without issues and built an index
&lt;br&gt;&amp;gt;&amp;gt; on the field of interest to the query, then changed the mapfile to point
&lt;br&gt;&amp;gt;&amp;gt; to PostGIS instead of the shapefile.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Display of data from PostGIS works fine, but every time I execute the
&lt;br&gt;&amp;gt;&amp;gt; query there is a crash of php-cgi.exe on the server. The message on the
&lt;br&gt;&amp;gt;&amp;gt; server is the generic crash message from WinXP: CGI/FastCGI has
&lt;br&gt;&amp;gt;&amp;gt; encountered a problem and needs to close.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; One strange thing is that the crash occurs in two separate modules
&lt;br&gt;&amp;gt;&amp;gt; depending on which dataset I query against.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Dataset A: Full dataset of ~180000 water wells.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Dataset B: Subset of dataset A, ~20000 water wells.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Both are point data, and were ingested from individual shapefiles, and
&lt;br&gt;&amp;gt;&amp;gt; are currently stored as separate tables in the same PostGIS database, with
&lt;br&gt;&amp;gt;&amp;gt; separate indexes.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; For dataset A the crash first occurs in gdal17dev.dll, then repeatedly
&lt;br&gt;&amp;gt;&amp;gt; in ntdll.dll shortly after clicking the &amp;quot;Don't Send&amp;quot; button (Remote
&lt;br&gt;&amp;gt;&amp;gt; Desktop control). I click the Don't Send button several times to dismiss
&lt;br&gt;&amp;gt;&amp;gt; the crash dialogs that pop up.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; For dataset B the crash occurs only in ntdll.dll, and only once per
&lt;br&gt;&amp;gt;&amp;gt; query attempt.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Once the crash has occurred I click the Don't Send button in the crash
&lt;br&gt;&amp;gt;&amp;gt; dialog on the server and one of two things will happen depending on the
&lt;br&gt;&amp;gt;&amp;gt; active dataset.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Dataset A: 1) if there ARE NO matches for the query parameter GeoMoose
&lt;br&gt;&amp;gt;&amp;gt; immediately returns a message to that effect; 2) if there ARE matches to
&lt;br&gt;&amp;gt;&amp;gt; the query parameter GeoMoose returns the correct number of records.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Dataset B: 1) if there ARE NO matches for the query parameter GeoMoose
&lt;br&gt;&amp;gt;&amp;gt; immediately returns a message to that effect; 2) if there ARE &amp;nbsp;matches to
&lt;br&gt;&amp;gt;&amp;gt; the query parameter the server returns an Unhandled Request return,
&lt;br&gt;&amp;gt;&amp;gt; Internal Server Error message after a several-second delay.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; There are more permutations than the above if I change the &amp;quot;turn
&lt;br&gt;&amp;gt;&amp;gt; highlight layer on&amp;quot; and/or &amp;quot;zoom to first hit&amp;quot; properties inside of the
&lt;br&gt;&amp;gt;&amp;gt; GeoMoose mapbook.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I don't even know where to start collecting evidence. Red herrings
&lt;br&gt;&amp;gt;&amp;gt; everywhere I suspect. This problem does not appear if I use shapefiles,
&lt;br&gt;&amp;gt;&amp;gt; but the query takes too long for practical use. PHP issue? GeoMoose issue?
&lt;br&gt;&amp;gt;&amp;gt; Mapserver issue? Windows issue? PostGIS issue? Yes to all or some of that?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; There is an error shown in the PostGIS log, but I do not know if it is
&lt;br&gt;&amp;gt;&amp;gt; relevant (symptom or disease):
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2009-12-03 09:23:24 CSTLOG: &amp;nbsp;could not receive data from client: No
&lt;br&gt;&amp;gt;&amp;gt; connection could be made because the target machine actively refused it.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2009-12-03 09:23:24 CSTLOG: &amp;nbsp;unexpected EOF on client connection
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; What information do I need to collect, how do I collect it, and where
&lt;br&gt;&amp;gt;&amp;gt; should I send it to help with resolving this?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thank you for your consideration.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Johan,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Yes that does sound tricky.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I think you should try to take as many factors out of the equation as
&lt;br&gt;&amp;gt;&amp;gt; you can and still generate the error:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; - remove GeoMoose, use a simple MapServer CGI viewer to execute query
&lt;br&gt;&amp;gt;&amp;gt; - remove MS4W, try your tests with another Windows package like FWTools
&lt;br&gt;&amp;gt;&amp;gt; - narrow the data down to the smallest subset that will still throw the
&lt;br&gt;&amp;gt;&amp;gt; error (one table with one record and one column, if possible)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; One you've done some of those you could possibly package a test package
&lt;br&gt;&amp;gt;&amp;gt; (mapfile with one layer, shapefile that has only a few records and only
&lt;br&gt;&amp;gt;&amp;gt; the fields that you need for display, commands to import into postgis)
&lt;br&gt;&amp;gt;&amp;gt; and post here or to the other lists that you are trying. &amp;nbsp;If you're
&lt;br&gt;&amp;gt;&amp;gt; lucky someone will take time out of this/her day to run your test
&lt;br&gt;&amp;gt;&amp;gt; package (and your chances for this to occur greatly increase by how much
&lt;br&gt;&amp;gt;&amp;gt; time your spend beforehand in making the package the smallest you can).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Ok, after some wrangling (correct syntax was difficult to determine) figuring out how to issue a CGI query straight in the address bar of my browser I have a partial report. Issuing the string
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://geoview/cgi-bin/mapserv.exe?map=/ms4w/apps/geomoose2/maps/sdwp/wells/wells.map&amp;layers=ldotd_all&amp;mode=itemnquery&amp;qlayer=ldotd_all&amp;qitem=regowner&amp;qstring=(regowner='RED&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://geoview/cgi-bin/mapserv.exe?map=/ms4w/apps/geomoose2/maps/sdwp/wells/wells.map&amp;layers=ldotd_all&amp;mode=itemnquery&amp;qlayer=ldotd_all&amp;qitem=regowner&amp;qstring=(regowner='RED&lt;/a&gt;&amp;nbsp;OAK DEVELOP')
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; returns twelve results in 7 seconds. Using the same search term with the GeoMoose search tool returns the same 12 results, but it takes a total of 70 seconds, with the php-cgi.exe crash in gdal17dev.dll at 65 seconds. That is the crash dialog on the server appears at 65 seconds, it may be occurring slightly before that due to the DrWatson delay to construct the dialog. Is there a 60 second magic threshold somewhere?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Based on the data above I may be inclined to suggest the issue is neither with PHP, CGI, nor Mapserver.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Hmm, interesting. &amp;nbsp;Good work piecing the CGI request together. &amp;nbsp;Now I 
&lt;br&gt;guess your next step is to find out the exact MapServer CGI request that 
&lt;br&gt;GeoMoose is making through the 'GeoMoose search tool', and try that in a 
&lt;br&gt;browser (but then you're into GeoMoose-land and this issue should be 
&lt;br&gt;discussed on the GeoMoose lists).
&lt;br&gt;&lt;br&gt;-jeff
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jeff McKenna
&lt;br&gt;FOSS4G Consulting and Training Services
&lt;br&gt;&lt;a href=&quot;http://www.gatewaygeomatics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gatewaygeomatics.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26643753&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/php-cgi-crash-with-PostGIS-tp26628410p26643753.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26643537</id>
	<title>Re: php-cgi crash with PostGIS</title>
	<published>2009-12-04T06:39:48Z</published>
	<updated>2009-12-04T06:39:48Z</updated>
	<author>
		<name>Johan Forsman</name>
	</author>
	<content type="html">Hi Jeff, please see bottom for my reply.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26643537&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users-bounces@...&lt;/a&gt; [mailto:ms4w-users-
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26643537&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bounces@...&lt;/a&gt;] On Behalf Of Jeff McKenna
&lt;br&gt;&amp;gt; Sent: Thursday, December 03, 2009 11:30 AM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26643537&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Re: [MS4W-Users] php-cgi crash with PostGIS
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Johan Forsman wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hello All:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I do not know what the proper place to report this issue may be, but I
&lt;br&gt;&amp;gt; thought I would start here hoping you can steer me in the right direction.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; We have a small, internal to my organization, mapserver on WinXP,
&lt;br&gt;&amp;gt; currently using MS4W 3.0 beta 6, with GeoMoose 2.0.1, primarily with
&lt;br&gt;&amp;gt; shapefiles. The query function in GeoMoose is too slow for practical use
&lt;br&gt;&amp;gt; for a particular point-data set and it was suggested by the developers to
&lt;br&gt;&amp;gt; try the PostGIS system instead to speed up response time of the query.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I installed and configured PostgreSQL 8.4.0 and PostGIS 1.4 without
&lt;br&gt;&amp;gt; issues, and I am using pgAdmin to help me along with configuration. I
&lt;br&gt;&amp;gt; created a new database &amp;quot;sdwp&amp;quot; instead of using the default &amp;quot;postgres&amp;quot;
&lt;br&gt;&amp;gt; database
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I ingested the shapefile into PostGIS without issues and built an index
&lt;br&gt;&amp;gt; on the field of interest to the query, then changed the mapfile to point
&lt;br&gt;&amp;gt; to PostGIS instead of the shapefile.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Display of data from PostGIS works fine, but every time I execute the
&lt;br&gt;&amp;gt; query there is a crash of php-cgi.exe on the server. The message on the
&lt;br&gt;&amp;gt; server is the generic crash message from WinXP: CGI/FastCGI has
&lt;br&gt;&amp;gt; encountered a problem and needs to close.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; One strange thing is that the crash occurs in two separate modules
&lt;br&gt;&amp;gt; depending on which dataset I query against.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Dataset A: Full dataset of ~180000 water wells.
&lt;br&gt;&amp;gt; &amp;gt; Dataset B: Subset of dataset A, ~20000 water wells.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Both are point data, and were ingested from individual shapefiles, and
&lt;br&gt;&amp;gt; are currently stored as separate tables in the same PostGIS database, with
&lt;br&gt;&amp;gt; separate indexes.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; For dataset A the crash first occurs in gdal17dev.dll, then repeatedly
&lt;br&gt;&amp;gt; in ntdll.dll shortly after clicking the &amp;quot;Don't Send&amp;quot; button (Remote
&lt;br&gt;&amp;gt; Desktop control). I click the Don't Send button several times to dismiss
&lt;br&gt;&amp;gt; the crash dialogs that pop up.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; For dataset B the crash occurs only in ntdll.dll, and only once per
&lt;br&gt;&amp;gt; query attempt.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Once the crash has occurred I click the Don't Send button in the crash
&lt;br&gt;&amp;gt; dialog on the server and one of two things will happen depending on the
&lt;br&gt;&amp;gt; active dataset.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Dataset A: 1) if there ARE NO matches for the query parameter GeoMoose
&lt;br&gt;&amp;gt; immediately returns a message to that effect; 2) if there ARE matches to
&lt;br&gt;&amp;gt; the query parameter GeoMoose returns the correct number of records.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Dataset B: 1) if there ARE NO matches for the query parameter GeoMoose
&lt;br&gt;&amp;gt; immediately returns a message to that effect; 2) if there ARE &amp;nbsp;matches to
&lt;br&gt;&amp;gt; the query parameter the server returns an Unhandled Request return,
&lt;br&gt;&amp;gt; Internal Server Error message after a several-second delay.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; There are more permutations than the above if I change the &amp;quot;turn
&lt;br&gt;&amp;gt; highlight layer on&amp;quot; and/or &amp;quot;zoom to first hit&amp;quot; properties inside of the
&lt;br&gt;&amp;gt; GeoMoose mapbook.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I don't even know where to start collecting evidence. Red herrings
&lt;br&gt;&amp;gt; everywhere I suspect. This problem does not appear if I use shapefiles,
&lt;br&gt;&amp;gt; but the query takes too long for practical use. PHP issue? GeoMoose issue?
&lt;br&gt;&amp;gt; Mapserver issue? Windows issue? PostGIS issue? Yes to all or some of that?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; There is an error shown in the PostGIS log, but I do not know if it is
&lt;br&gt;&amp;gt; relevant (symptom or disease):
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 2009-12-03 09:23:24 CSTLOG: &amp;nbsp;could not receive data from client: No
&lt;br&gt;&amp;gt; connection could be made because the target machine actively refused it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 2009-12-03 09:23:24 CSTLOG: &amp;nbsp;unexpected EOF on client connection
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; What information do I need to collect, how do I collect it, and where
&lt;br&gt;&amp;gt; should I send it to help with resolving this?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thank you for your consideration.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Johan,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yes that does sound tricky.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I think you should try to take as many factors out of the equation as
&lt;br&gt;&amp;gt; you can and still generate the error:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; - remove GeoMoose, use a simple MapServer CGI viewer to execute query
&lt;br&gt;&amp;gt; - remove MS4W, try your tests with another Windows package like FWTools
&lt;br&gt;&amp;gt; - narrow the data down to the smallest subset that will still throw the
&lt;br&gt;&amp;gt; error (one table with one record and one column, if possible)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; One you've done some of those you could possibly package a test package
&lt;br&gt;&amp;gt; (mapfile with one layer, shapefile that has only a few records and only
&lt;br&gt;&amp;gt; the fields that you need for display, commands to import into postgis)
&lt;br&gt;&amp;gt; and post here or to the other lists that you are trying. &amp;nbsp;If you're
&lt;br&gt;&amp;gt; lucky someone will take time out of this/her day to run your test
&lt;br&gt;&amp;gt; package (and your chances for this to occur greatly increase by how much
&lt;br&gt;&amp;gt; time your spend beforehand in making the package the smallest you can).
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Ok, after some wrangling (correct syntax was difficult to determine) figuring out how to issue a CGI query straight in the address bar of my browser I have a partial report. Issuing the string
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://geoview/cgi-bin/mapserv.exe?map=/ms4w/apps/geomoose2/maps/sdwp/wells/wells.map&amp;layers=ldotd_all&amp;mode=itemnquery&amp;qlayer=ldotd_all&amp;qitem=regowner&amp;qstring=(regowner='RED&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://geoview/cgi-bin/mapserv.exe?map=/ms4w/apps/geomoose2/maps/sdwp/wells/wells.map&amp;layers=ldotd_all&amp;mode=itemnquery&amp;qlayer=ldotd_all&amp;qitem=regowner&amp;qstring=(regowner='RED&lt;/a&gt;&amp;nbsp;OAK DEVELOP')
&lt;br&gt;&lt;br&gt;returns twelve results in 7 seconds. Using the same search term with the GeoMoose search tool returns the same 12 results, but it takes a total of 70 seconds, with the php-cgi.exe crash in gdal17dev.dll at 65 seconds. That is the crash dialog on the server appears at 65 seconds, it may be occurring slightly before that due to the DrWatson delay to construct the dialog. Is there a 60 second magic threshold somewhere?
&lt;br&gt;&lt;br&gt;Based on the data above I may be inclined to suggest the issue is neither with PHP, CGI, nor Mapserver.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26643537&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/php-cgi-crash-with-PostGIS-tp26628410p26643537.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26629875</id>
	<title>Re: php-cgi crash with PostGIS</title>
	<published>2009-12-03T09:30:29Z</published>
	<updated>2009-12-03T09:30:29Z</updated>
	<author>
		<name>Jeff McKenna</name>
	</author>
	<content type="html">Johan Forsman wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello All:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I do not know what the proper place to report this issue may be, but I thought I would start here hoping you can steer me in the right direction.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; We have a small, internal to my organization, mapserver on WinXP, currently using MS4W 3.0 beta 6, with GeoMoose 2.0.1, primarily with shapefiles. The query function in GeoMoose is too slow for practical use for a particular point-data set and it was suggested by the developers to try the PostGIS system instead to speed up response time of the query.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I installed and configured PostgreSQL 8.4.0 and PostGIS 1.4 without issues, and I am using pgAdmin to help me along with configuration. I created a new database &amp;quot;sdwp&amp;quot; instead of using the default &amp;quot;postgres&amp;quot; database
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I ingested the shapefile into PostGIS without issues and built an index on the field of interest to the query, then changed the mapfile to point to PostGIS instead of the shapefile.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Display of data from PostGIS works fine, but every time I execute the query there is a crash of php-cgi.exe on the server. The message on the server is the generic crash message from WinXP: CGI/FastCGI has encountered a problem and needs to close.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; One strange thing is that the crash occurs in two separate modules depending on which dataset I query against.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Dataset A: Full dataset of ~180000 water wells.
&lt;br&gt;&amp;gt; Dataset B: Subset of dataset A, ~20000 water wells.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Both are point data, and were ingested from individual shapefiles, and are currently stored as separate tables in the same PostGIS database, with separate indexes.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; For dataset A the crash first occurs in gdal17dev.dll, then repeatedly in ntdll.dll shortly after clicking the &amp;quot;Don't Send&amp;quot; button (Remote Desktop control). I click the Don't Send button several times to dismiss the crash dialogs that pop up.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; For dataset B the crash occurs only in ntdll.dll, and only once per query attempt. &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Once the crash has occurred I click the Don't Send button in the crash dialog on the server and one of two things will happen depending on the active dataset. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Dataset A: 1) if there ARE NO matches for the query parameter GeoMoose immediately returns a message to that effect; 2) if there ARE matches to the query parameter GeoMoose returns the correct number of records.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Dataset B: 1) if there ARE NO matches for the query parameter GeoMoose immediately returns a message to that effect; 2) if there ARE &amp;nbsp;matches to the query parameter the server returns an Unhandled Request return, Internal Server Error message after a several-second delay.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; There are more permutations than the above if I change the &amp;quot;turn highlight layer on&amp;quot; and/or &amp;quot;zoom to first hit&amp;quot; properties inside of the GeoMoose mapbook.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I don't even know where to start collecting evidence. Red herrings everywhere I suspect. This problem does not appear if I use shapefiles, but the query takes too long for practical use. PHP issue? GeoMoose issue? Mapserver issue? Windows issue? PostGIS issue? Yes to all or some of that?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; There is an error shown in the PostGIS log, but I do not know if it is relevant (symptom or disease):
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2009-12-03 09:23:24 CSTLOG: &amp;nbsp;could not receive data from client: No connection could be made because the target machine actively refused it.	
&lt;br&gt;&amp;gt; 2009-12-03 09:23:24 CSTLOG: &amp;nbsp;unexpected EOF on client connection	
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What information do I need to collect, how do I collect it, and where should I send it to help with resolving this?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thank you for your consideration.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Johan,
&lt;br&gt;&lt;br&gt;Yes that does sound tricky.
&lt;br&gt;&lt;br&gt;I think you should try to take as many factors out of the equation as 
&lt;br&gt;you can and still generate the error:
&lt;br&gt;&lt;br&gt;- remove GeoMoose, use a simple MapServer CGI viewer to execute query
&lt;br&gt;- remove MS4W, try your tests with another Windows package like FWTools
&lt;br&gt;- narrow the data down to the smallest subset that will still throw the 
&lt;br&gt;error (one table with one record and one column, if possible)
&lt;br&gt;&lt;br&gt;One you've done some of those you could possibly package a test package 
&lt;br&gt;(mapfile with one layer, shapefile that has only a few records and only 
&lt;br&gt;the fields that you need for display, commands to import into postgis) 
&lt;br&gt;and post here or to the other lists that you are trying. &amp;nbsp;If you're 
&lt;br&gt;lucky someone will take time out of this/her day to run your test 
&lt;br&gt;package (and your chances for this to occur greatly increase by how much 
&lt;br&gt;time your spend beforehand in making the package the smallest you can).
&lt;br&gt;&lt;br&gt;-jeff
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jeff McKenna
&lt;br&gt;FOSS4G Consulting and Training Services
&lt;br&gt;&lt;a href=&quot;http://www.gatewaygeomatics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gatewaygeomatics.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26629875&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/php-cgi-crash-with-PostGIS-tp26628410p26629875.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26628410</id>
	<title>php-cgi crash with PostGIS</title>
	<published>2009-12-03T07:50:18Z</published>
	<updated>2009-12-03T07:50:18Z</updated>
	<author>
		<name>Johan Forsman</name>
	</author>
	<content type="html">Hello All:
&lt;br&gt;&lt;br&gt;I do not know what the proper place to report this issue may be, but I thought I would start here hoping you can steer me in the right direction.
&lt;br&gt;&lt;br&gt;We have a small, internal to my organization, mapserver on WinXP, currently using MS4W 3.0 beta 6, with GeoMoose 2.0.1, primarily with shapefiles. The query function in GeoMoose is too slow for practical use for a particular point-data set and it was suggested by the developers to try the PostGIS system instead to speed up response time of the query.
&lt;br&gt;&lt;br&gt;I installed and configured PostgreSQL 8.4.0 and PostGIS 1.4 without issues, and I am using pgAdmin to help me along with configuration. I created a new database &amp;quot;sdwp&amp;quot; instead of using the default &amp;quot;postgres&amp;quot; database
&lt;br&gt;&lt;br&gt;I ingested the shapefile into PostGIS without issues and built an index on the field of interest to the query, then changed the mapfile to point to PostGIS instead of the shapefile.
&lt;br&gt;&lt;br&gt;Display of data from PostGIS works fine, but every time I execute the query there is a crash of php-cgi.exe on the server. The message on the server is the generic crash message from WinXP: CGI/FastCGI has encountered a problem and needs to close.
&lt;br&gt;&lt;br&gt;One strange thing is that the crash occurs in two separate modules depending on which dataset I query against.
&lt;br&gt;&lt;br&gt;Dataset A: Full dataset of ~180000 water wells.
&lt;br&gt;Dataset B: Subset of dataset A, ~20000 water wells.
&lt;br&gt;&lt;br&gt;Both are point data, and were ingested from individual shapefiles, and are currently stored as separate tables in the same PostGIS database, with separate indexes.
&lt;br&gt;&lt;br&gt;For dataset A the crash first occurs in gdal17dev.dll, then repeatedly in ntdll.dll shortly after clicking the &amp;quot;Don't Send&amp;quot; button (Remote Desktop control). I click the Don't Send button several times to dismiss the crash dialogs that pop up.
&lt;br&gt;&lt;br&gt;For dataset B the crash occurs only in ntdll.dll, and only once per query attempt. &amp;nbsp;
&lt;br&gt;&lt;br&gt;Once the crash has occurred I click the Don't Send button in the crash dialog on the server and one of two things will happen depending on the active dataset. 
&lt;br&gt;&lt;br&gt;Dataset A: 1) if there ARE NO matches for the query parameter GeoMoose immediately returns a message to that effect; 2) if there ARE matches to the query parameter GeoMoose returns the correct number of records.
&lt;br&gt;&lt;br&gt;Dataset B: 1) if there ARE NO matches for the query parameter GeoMoose immediately returns a message to that effect; 2) if there ARE &amp;nbsp;matches to the query parameter the server returns an Unhandled Request return, Internal Server Error message after a several-second delay.
&lt;br&gt;&lt;br&gt;There are more permutations than the above if I change the &amp;quot;turn highlight layer on&amp;quot; and/or &amp;quot;zoom to first hit&amp;quot; properties inside of the GeoMoose mapbook.
&lt;br&gt;&lt;br&gt;I don't even know where to start collecting evidence. Red herrings everywhere I suspect. This problem does not appear if I use shapefiles, but the query takes too long for practical use. PHP issue? GeoMoose issue? Mapserver issue? Windows issue? PostGIS issue? Yes to all or some of that?
&lt;br&gt;&lt;br&gt;There is an error shown in the PostGIS log, but I do not know if it is relevant (symptom or disease):
&lt;br&gt;&lt;br&gt;2009-12-03 09:23:24 CSTLOG: &amp;nbsp;could not receive data from client: No connection could be made because the target machine actively refused it.	
&lt;br&gt;2009-12-03 09:23:24 CSTLOG: &amp;nbsp;unexpected EOF on client connection	
&lt;br&gt;&lt;br&gt;What information do I need to collect, how do I collect it, and where should I send it to help with resolving this?
&lt;br&gt;&lt;br&gt;Thank you for your consideration.
&lt;br&gt;&lt;br&gt;Respectfully,
&lt;br&gt;Johan.
&lt;br&gt;&lt;br&gt;----------------------
&lt;br&gt;Johan Forsman
&lt;br&gt;Geologist
&lt;br&gt;Safe Drinking Water Program
&lt;br&gt;Louisiana Department of Health and Hospitals
&lt;br&gt;Office of Public Health
&lt;br&gt;Telephone: 225.342.7309
&lt;br&gt;Telefax: 225.342.7303
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26628410&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/php-cgi-crash-with-PostGIS-tp26628410p26628410.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26579972</id>
	<title>MapServer 5.6.0-rc1 upgrade available</title>
	<published>2009-11-30T10:26:41Z</published>
	<updated>2009-11-30T10:26:41Z</updated>
	<author>
		<name>Jeff McKenna</name>
	</author>
	<content type="html">MS4W v3.0 users interested in testing the recent MapServer 5.6.0-rc1
&lt;br&gt;release can download it at:
&lt;br&gt;&lt;a href=&quot;http://www.maptools.org/dl/ms4w/mapserver_ms4w-5.6.0-rc1.zip&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.maptools.org/dl/ms4w/mapserver_ms4w-5.6.0-rc1.zip&lt;/a&gt;&amp;nbsp;(extract
&lt;br&gt;it at existing MS4W root)
&lt;br&gt;&lt;br&gt;Release notes are available at:
&lt;br&gt;&lt;a href=&quot;http://www.maptools.org/ms4w/index.phtml?page=RELEASE_mapserver_ms4w3.x_dev-5.6.0.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.maptools.org/ms4w/index.phtml?page=RELEASE_mapserver_ms4w3.x_dev-5.6.0.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;-jeff
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jeff McKenna
&lt;br&gt;FOSS4G Consulting and Training Services
&lt;br&gt;&lt;a href=&quot;http://www.gatewaygeomatics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gatewaygeomatics.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26579972&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MapServer-5.6.0-rc1-upgrade-available-tp26579972p26579972.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26579712</id>
	<title>Re: shp2tile error in MS4W v3.0 Beta 7</title>
	<published>2009-11-30T10:16:38Z</published>
	<updated>2009-11-30T10:16:38Z</updated>
	<author>
		<name>Jeff McKenna</name>
	</author>
	<content type="html">karsten vennemann wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; on the windows version of MS4W v3.0 Beta 7 I set the environment 
&lt;br&gt;&amp;gt; variables using setenv.bat as well as directly in the windows xp system 
&lt;br&gt;&amp;gt; environment variables. I got all the tools like ogr2ogr and gdalinfo to 
&lt;br&gt;&amp;gt; run on the dos command line
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; but shp2tile keeps giving me an error in a popup window: Unable to 
&lt;br&gt;&amp;gt; locate component.
&lt;br&gt;&amp;gt; The application has failed to start because shapelib.dll was not found. 
&lt;br&gt;&amp;gt; Re-installing the application may fix this problem.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; In FWtoolsv. 246 I have the same problem. &amp;nbsp;I actually also can't 
&lt;br&gt;&amp;gt; physically find that dll in neither directory ...
&lt;br&gt;&amp;gt; How can this be fixed ?
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;/div&gt;&lt;br&gt;Hello Karsten,
&lt;br&gt;&lt;br&gt;Thanks for reporting this.
&lt;br&gt;&lt;br&gt;Please see the associated ticket for instructions on how to download the 
&lt;br&gt;missing file (&lt;a href=&quot;http://bugzilla.maptools.org/show_bug.cgi?id=2127&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugzilla.maptools.org/show_bug.cgi?id=2127&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Please test and add a comment in the ticket (such as &amp;quot;downloaded the 
&lt;br&gt;dll, it solved the problem&amp;quot; or &amp;quot;tried with dll and received the 
&lt;br&gt;following error when retrying: ___&amp;quot;). &amp;nbsp;Thanks so much.
&lt;br&gt;&lt;br&gt;-jeff
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jeff McKenna
&lt;br&gt;FOSS4G Consulting and Training Services
&lt;br&gt;&lt;a href=&quot;http://www.gatewaygeomatics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gatewaygeomatics.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26579712&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/shp2tile-error-in-MS4W-v3.0-Beta-7-tp26549317p26579712.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26549317</id>
	<title>shp2tile error in MS4W v3.0 Beta 7</title>
	<published>2009-11-27T16:06:34Z</published>
	<updated>2009-11-27T16:06:34Z</updated>
	<author>
		<name>Karsten Vennemann</name>
	</author>
	<content type="html">﻿&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=utf-8&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.6000.16890&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=156505723-27112009&gt;Hi,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=156505723-27112009&gt;on the windows 
version of&amp;nbsp;MS4W v3.0 Beta 7 I set the environment variables using 
setenv.bat as well as directly in the windows xp system environment variables. 
&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=156505723-27112009&gt;I got all 
the tools like ogr2ogr and gdalinfo to run on the dos command 
line&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=156505723-27112009&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=156505723-27112009&gt;but shp2tile keeps 
giving me an error in a popup window: &lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=156505723-27112009&gt;Unable to locate 
component.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=156505723-27112009&gt;The application has 
failed to start because shapelib.dll was not found. Re-installing the 
application may fix this problem.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=156505723-27112009&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=156505723-27112009&gt;In FWtoolsv. 246 I 
have the same problem. &amp;nbsp;I actually also can't physically find that dll in 
neither directory ...&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=156505723-27112009&gt;How can this be 
fixed ?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=156505723-27112009&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=156505723-27112009&gt;Cheers&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=156505723-27112009&gt;Karsten&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26549317&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/shp2tile-error-in-MS4W-v3.0-Beta-7-tp26549317p26549317.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26306711</id>
	<title>Re: Coordinate Projects</title>
	<published>2009-11-11T11:01:26Z</published>
	<updated>2009-11-11T11:01:26Z</updated>
	<author>
		<name>Frank Warmerdam-2</name>
	</author>
	<content type="html">Jeff McKenna wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; PROJECTION
&lt;br&gt;&amp;gt; 	&amp;quot;proj=utm&amp;quot;
&lt;br&gt;&amp;gt; 	&amp;quot;zone=44&amp;quot;
&lt;br&gt;&amp;gt; 	&amp;quot;a=6377276.345&amp;quot;
&lt;br&gt;&amp;gt; 	&amp;quot;b=6356075.41314024&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;lat_0=7.000472&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;lon_0=80.771713&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;k_0=0.999924&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;x_0=200000&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;y_0=200000&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;rf=300&amp;quot;
&lt;br&gt;&amp;gt; 	&amp;quot;units=m&amp;quot;
&lt;br&gt;&amp;gt; 	&amp;quot;no_defs&amp;quot;
&lt;br&gt;&amp;gt; END
&lt;/div&gt;&lt;br&gt;&lt;br&gt;Jeff has some excellent suggestions, but I must clarify that you
&lt;br&gt;should not mix proj=utm with specific settings of lat_0 and lon_0.
&lt;br&gt;When your lat_0 and lon_0 are not the default for a given utm zone
&lt;br&gt;you should instead just use proj=tmerc and specify all the parameters.
&lt;br&gt;&lt;br&gt;Honestly, I was suprised to see &amp;quot;utm zone 44&amp;quot; when the parameters
&lt;br&gt;are so *not* UTM 44. &amp;nbsp;The lat_0, lon_0, x_0, y_0 and k values are all
&lt;br&gt;different than UTM 44.
&lt;br&gt;&lt;br&gt;&amp;gt; I am not sure of how to specify the &amp;quot;Inverse Flattening&amp;quot; value, so I 
&lt;br&gt;&amp;gt; have guessed that it is the &amp;quot;rf&amp;quot; parameter, but I am not sure. 
&lt;br&gt;&lt;br&gt;Yes, I believe +rf= is the right parameter, but the ellipse is also fully
&lt;br&gt;specified with +a and +b (semi-major and semi-minor) axes.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;-- 
&lt;br&gt;---------------------------------------+--------------------------------------
&lt;br&gt;I set the clouds in motion - turn up &amp;nbsp; | Frank Warmerdam, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306711&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;warmerdam@...&lt;/a&gt;
&lt;br&gt;light and sound - activate the windows | &lt;a href=&quot;http://pobox.com/~warmerdam&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pobox.com/~warmerdam&lt;/a&gt;&lt;br&gt;and watch the world go round - Rush &amp;nbsp; &amp;nbsp;| Geospatial Programmer for Rent
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26306711&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Coordinate-Projects-tp26298859p26306711.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26305410</id>
	<title>Re: Coordinate Projects</title>
	<published>2009-11-11T09:40:26Z</published>
	<updated>2009-11-11T09:40:26Z</updated>
	<author>
		<name>Jeff McKenna</name>
	</author>
	<content type="html">Gayani Edirisinghe wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Dear all,
&lt;br&gt;&amp;gt; &amp;nbsp; I am using maps of sri Lanka UTM 44 Kadawala Projection values are below.
&lt;br&gt;&amp;gt; Semimajor Axis: 6377276.344999999700000000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Semiminor Axis: 6356075.413140240100000000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Inverse Flattening: 300.801699999999980000
&lt;br&gt;&amp;gt; False_Easting: 200000.000000
&lt;br&gt;&amp;gt; False_Northing: 200000.000000
&lt;br&gt;&amp;gt; Central_Meridian: 80.771713
&lt;br&gt;&amp;gt; Scale_Factor: 0.999924
&lt;br&gt;&amp;gt; Latitude_Of_Origin: 7.000472
&lt;br&gt;&amp;gt; Linear Unit: Meter (1.000000)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Please tell me how I could change the map server to display correct coordinate
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thank You
&lt;br&gt;&amp;gt; Gayani Edirisnghe
&lt;/div&gt;&lt;br&gt;Hello Gayani,
&lt;br&gt;&lt;br&gt;Projections are a difficult issue. &amp;nbsp;The easy way to avoid this problem 
&lt;br&gt;is to have all of your data in this same projection, and then you don't 
&lt;br&gt;have to define any projection objects in your mapfile.
&lt;br&gt;&lt;br&gt;But if you want to reproject your data, either through MapServer or 
&lt;br&gt;through something like the ogr2ogr utility, then you'll either need the 
&lt;br&gt;projection's EPSG code or specify its PROJ.4 parameters.
&lt;br&gt;&lt;br&gt;I have checked MS4W's epsg file (/ms4w/proj/nad/epsg) and I don't see 
&lt;br&gt;your exact projection.
&lt;br&gt;&lt;br&gt;A nice (and relatively new) resource for finding existing projection 
&lt;br&gt;definitions is spatialreference.org &amp;nbsp;For example, if I search for &amp;quot;sri 
&lt;br&gt;lanka&amp;quot; these are the results: 
&lt;br&gt;&lt;a href=&quot;http://spatialreference.org/ref/?search=sri+lanka&amp;srtext=Search&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://spatialreference.org/ref/?search=sri+lanka&amp;srtext=Search&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;The first result (&lt;a href=&quot;http://spatialreference.org/ref/sr-org/6684/mapfile/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://spatialreference.org/ref/sr-org/6684/mapfile/&lt;/a&gt;) 
&lt;br&gt;seems somewhat similar to your projection. &amp;nbsp;Using that as a start, and 
&lt;br&gt;the PROJ.4 reference page for what each parameter stands for 
&lt;br&gt;(&lt;a href=&quot;http://trac.osgeo.org/proj/wiki/GenParms&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trac.osgeo.org/proj/wiki/GenParms&lt;/a&gt;) my guess of your projection 
&lt;br&gt;definition is:
&lt;br&gt;&lt;br&gt;PROJECTION
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;proj=utm&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;zone=44&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;a=6377276.345&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;b=6356075.41314024&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;lat_0=7.000472&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;lon_0=80.771713&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;k_0=0.999924&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;x_0=200000&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;y_0=200000&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;rf=300&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;units=m&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;no_defs&amp;quot;
&lt;br&gt;END
&lt;br&gt;&lt;br&gt;You would place that in the LAYER section of your mapfile.
&lt;br&gt;&lt;br&gt;I am not sure of how to specify the &amp;quot;Inverse Flattening&amp;quot; value, so I 
&lt;br&gt;have guessed that it is the &amp;quot;rf&amp;quot; parameter, but I am not sure. 
&lt;br&gt;Hopefully someone else can correct me here. &amp;nbsp;Also, the experts live on 
&lt;br&gt;the Proj mailing list (&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/proj&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/proj&lt;/a&gt;) 
&lt;br&gt;so if no one else can help you, you should ask there also.
&lt;br&gt;&lt;br&gt;Hope this helps a little, or gets you started in the right direction.
&lt;br&gt;&lt;br&gt;-jeff
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jeff McKenna
&lt;br&gt;FOSS4G Consulting and Training Services
&lt;br&gt;&lt;a href=&quot;http://www.gatewaygeomatics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gatewaygeomatics.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305410&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Coordinate-Projects-tp26298859p26305410.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26305128</id>
	<title>Re: Coordinate Projects</title>
	<published>2009-11-11T09:20:35Z</published>
	<updated>2009-11-11T09:20:35Z</updated>
	<author>
		<name>Frank Warmerdam-2</name>
	</author>
	<content type="html">Gayani Edirisinghe wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Dear all,
&lt;br&gt;&amp;gt; &amp;nbsp; I am using maps of sri Lanka UTM 44 Kadawala Projection values are below.
&lt;br&gt;&amp;gt; Semimajor Axis: 6377276.344999999700000000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Semiminor Axis: 6356075.413140240100000000
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Inverse Flattening: 300.801699999999980000
&lt;br&gt;&amp;gt; False_Easting: 200000.000000
&lt;br&gt;&amp;gt; False_Northing: 200000.000000
&lt;br&gt;&amp;gt; Central_Meridian: 80.771713
&lt;br&gt;&amp;gt; Scale_Factor: 0.999924
&lt;br&gt;&amp;gt; Latitude_Of_Origin: 7.000472
&lt;br&gt;&amp;gt; Linear Unit: Meter (1.000000)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Please tell me how I could change the map server to display correct coordinate
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Gayani,
&lt;br&gt;&lt;br&gt;Presuming that the projection method is Transverse Mercator you could use
&lt;br&gt;a PROJECTION block like:
&lt;br&gt;&lt;br&gt;PROJECTION
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;quot;+proj=tmerc +lon_0=80.771713 +k=0.999924 +lat_0=7.000472 +x_0=200000 
&lt;br&gt;+y_0=20000 +units=m +a=6377276.3449999997 +b=6356075.4131402401&amp;quot;
&lt;br&gt;END
&lt;br&gt;&lt;br&gt;I am not familiar with your coordinate system but a simplistic attempt to look
&lt;br&gt;it up in the EPSG coordinate system failed. &amp;nbsp;So it might be hard to deploy
&lt;br&gt;a WMS based on it since that depends on knowing an EPSG code.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;-- 
&lt;br&gt;---------------------------------------+--------------------------------------
&lt;br&gt;I set the clouds in motion - turn up &amp;nbsp; | Frank Warmerdam, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305128&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;warmerdam@...&lt;/a&gt;
&lt;br&gt;light and sound - activate the windows | &lt;a href=&quot;http://pobox.com/~warmerdam&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pobox.com/~warmerdam&lt;/a&gt;&lt;br&gt;and watch the world go round - Rush &amp;nbsp; &amp;nbsp;| Geospatial Programmer for Rent
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26305128&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Coordinate-Projects-tp26298859p26305128.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26298859</id>
	<title>Coordinate Projects</title>
	<published>2009-11-11T02:03:31Z</published>
	<updated>2009-11-11T02:03:31Z</updated>
	<author>
		<name>Gayani</name>
	</author>
	<content type="html">Dear all,
&lt;br&gt;&amp;nbsp; I am using maps of sri Lanka UTM 44 Kadawala Projection values are below.
&lt;br&gt;Semimajor Axis: 6377276.344999999700000000
&lt;br&gt;&amp;nbsp; &amp;nbsp; Semiminor Axis: 6356075.413140240100000000
&lt;br&gt;&amp;nbsp; &amp;nbsp; Inverse Flattening: 300.801699999999980000
&lt;br&gt;False_Easting: 200000.000000
&lt;br&gt;False_Northing: 200000.000000
&lt;br&gt;Central_Meridian: 80.771713
&lt;br&gt;Scale_Factor: 0.999924
&lt;br&gt;Latitude_Of_Origin: 7.000472
&lt;br&gt;Linear Unit: Meter (1.000000)
&lt;br&gt;&lt;br&gt;Please tell me how I could change the map server to display correct coordinate
&lt;br&gt;&lt;br&gt;Thank You
&lt;br&gt;Gayani Edirisnghe
&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26298859&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Coordinate-Projects-tp26298859p26298859.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26275601</id>
	<title>Re: [mapserver-dev] Re: MS4W Beta 7 -- Python-Mapscript -- queryByRect strange behavior</title>
	<published>2009-11-09T14:59:18Z</published>
	<updated>2009-11-09T14:59:18Z</updated>
	<author>
		<name>Christian Jauvin</name>
	</author>
	<content type="html">Hi Daniel,
&lt;br&gt;&lt;br&gt;Thanks for the note: of course I ran into the issue a little bit later
&lt;br&gt;(I simply had not reached yet the part of my program that deals with
&lt;br&gt;PostGIS layers), and I was quite happy to be aware of that!
&lt;br&gt;&lt;br&gt;Now I really tried to figure how to upgrade my &amp;lt; 5.6 code with the new
&lt;br&gt;query mechanism that you added in 5.6, but (1) I couldn't find enough
&lt;br&gt;documentation/example about the issue (I understand it is pretty new)
&lt;br&gt;and (2) couldn't make enough sense of what I read in the MS 5.6 C
&lt;br&gt;source that I downloaded. I cannot even figure out the exact arguments
&lt;br&gt;to the method (as they are not explictly stated in the SWIG generated
&lt;br&gt;code).
&lt;br&gt;&lt;br&gt;If you would have time to provide a little example showing how it
&lt;br&gt;works, it would be greatly appreciated!
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Christian
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Mon, Nov 9, 2009 at 2:46 PM, Daniel Morissette
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26275601&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dmorissette@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Christian Jauvin wrote:
&lt;br&gt;&amp;gt;&amp;gt; if succ == MS_SUCCESS:
&lt;br&gt;&amp;gt;&amp;gt;     n_res = layer.getNumResults()
&lt;br&gt;&amp;gt;&amp;gt;     for j in range(n_res):
&lt;br&gt;&amp;gt;&amp;gt;         res = layer.getResult(j)
&lt;br&gt;&amp;gt;&amp;gt;         shp = layer.getFeature(res.shapeindex)
&lt;br&gt;&amp;gt;&amp;gt;         features.append(shp)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Note that starting with MapServer 5.6, when reading shapes out of a
&lt;br&gt;&amp;gt; resultset, you should use the new layer.resultsGetShape() method instead
&lt;br&gt;&amp;gt; of layer.getShape() or layer.getFeature().
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Your script creates and queries inline features, and in this case the
&lt;br&gt;&amp;gt; old method still works, but for PostGIS, Oracle and SDE data sources
&lt;br&gt;&amp;gt; that is an important change to make.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; More info in the 5.6 migration guide (draft) at
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://trac.osgeo.org/mapserver/browser/trunk/mapserver/MIGRATION_GUIDE.TXT&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trac.osgeo.org/mapserver/browser/trunk/mapserver/MIGRATION_GUIDE.TXT&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Daniel
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Daniel Morissette
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.mapgears.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mapgears.com/&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; MS4W-Users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26275601&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26275601&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MS4W-Beta-7----Python-Mapscript----queryByRect-strange-behavior-tp26235012p26275601.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26273741</id>
	<title>Re: [ms4w-users] Testing ms4w + 5.6.0 beta 3, c# 	mapscript: imageobj error</title>
	<published>2009-11-09T12:50:38Z</published>
	<updated>2009-11-09T12:50:38Z</updated>
	<author>
		<name>Tamas Szekeres</name>
	</author>
	<content type="html">Could you attach your mapfile and C# code sample along with this
&lt;br&gt;ticket? It would be extremely helpful.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;&lt;br&gt;Tamas
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;2009/11/9 Tiemens, Gerben &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26273741&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gerben.Tiemens@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Bug filed with mapserver:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://trac.osgeo.org/mapserver/ticket/3201#preview&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trac.osgeo.org/mapserver/ticket/3201#preview&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Grontmij
&lt;br&gt;&amp;gt; Gerben Tiemens
&lt;br&gt;&amp;gt; GIS adviseur/ontwikkelaar GIS &amp; ICT
&lt;br&gt;&amp;gt; Grontmij Nederland B.V.
&lt;br&gt;&amp;gt; B De Holle Bilt 22, 3732 HM De Bilt
&lt;br&gt;&amp;gt; P Postbus 203, 3730 AE De Bilt
&lt;br&gt;&amp;gt; M +31 61 334 5944
&lt;br&gt;&amp;gt; T +31 30 220 7440
&lt;br&gt;&amp;gt; F +31 30 220 1923
&lt;br&gt;&amp;gt; E  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26273741&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gerben.Tiemens@...&lt;/a&gt;
&lt;br&gt;&amp;gt; W &lt;a href=&quot;http://www.grontmij.nl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.grontmij.nl&lt;/a&gt;&lt;br&gt;&amp;gt; Handelsregister 30129769
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Oorspronkelijk bericht-----
&lt;br&gt;&amp;gt; Van: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26273741&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users-bounces@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26273741&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users-bounces@...&lt;/a&gt;] Namens Jeff McKenna
&lt;br&gt;&amp;gt; Verzonden: Thursday, November 05, 2009 8:03 PM
&lt;br&gt;&amp;gt; Aan: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26273741&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Onderwerp: Re: [MS4W-Users] [ms4w-users] Testing ms4w + 5.6.0 beta 3, c# mapscript: imageobj error
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; G. Tiemens wrote:
&lt;br&gt;&amp;gt;&amp;gt; I am testing  5.6.0 beta 1,2 and 3.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; As I understand, I can copy the 5.6.0 beta's over the 3.0 beta 7?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; When I apply this, and rebuild my C# mapscript application with the
&lt;br&gt;&amp;gt;&amp;gt; new csharp library, I get memory errors on creating a new imageObj.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In 3.0 beta 7, all is good and working. When I apply beta 1 over it,
&lt;br&gt;&amp;gt;&amp;gt; and rebuild, then imediately an error occurs on creating an imageobj.
&lt;br&gt;&amp;gt;&amp;gt; Creating a mapobj is not a problem, so path to dll's is good.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It could be a problem with the earlier betas.  If the recent beta works, then why go back to an earlier version?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -jeff
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Jeff McKenna
&lt;br&gt;&amp;gt; FOSS4G Consulting and Training Services
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.gatewaygeomatics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gatewaygeomatics.com/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; MS4W-Users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26273741&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;&amp;lt; Please read our E-mail Disclaimer at: Emaildisclaimer.Grontmij.com &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; MS4W-Users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26273741&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26273741&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Testing-ms4w-%2B-5.6.0-beta-3%2C-c--mapscript%3A-imageobj-error-tp26213650p26273741.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26272865</id>
	<title>Re: [mapserver-dev] Re: MS4W Beta 7 -- Python-Mapscript -- queryByRect strange behavior</title>
	<published>2009-11-09T11:46:11Z</published>
	<updated>2009-11-09T11:46:11Z</updated>
	<author>
		<name>Daniel Morissette-2</name>
	</author>
	<content type="html">Christian Jauvin wrote:
&lt;br&gt;&amp;gt; if succ == MS_SUCCESS:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; n_res = layer.getNumResults()
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; for j in range(n_res):
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res = layer.getResult(j)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; shp = layer.getFeature(res.shapeindex)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; features.append(shp)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Note that starting with MapServer 5.6, when reading shapes out of a 
&lt;br&gt;resultset, you should use the new layer.resultsGetShape() method instead 
&lt;br&gt;of layer.getShape() or layer.getFeature().
&lt;br&gt;&lt;br&gt;Your script creates and queries inline features, and in this case the 
&lt;br&gt;old method still works, but for PostGIS, Oracle and SDE data sources 
&lt;br&gt;that is an important change to make.
&lt;br&gt;&lt;br&gt;More info in the 5.6 migration guide (draft) at
&lt;br&gt;&lt;a href=&quot;http://trac.osgeo.org/mapserver/browser/trunk/mapserver/MIGRATION_GUIDE.TXT&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trac.osgeo.org/mapserver/browser/trunk/mapserver/MIGRATION_GUIDE.TXT&lt;/a&gt;&lt;br&gt;&lt;br&gt;Daniel
&lt;br&gt;-- 
&lt;br&gt;Daniel Morissette
&lt;br&gt;&lt;a href=&quot;http://www.mapgears.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mapgears.com/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26272865&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MS4W-Beta-7----Python-Mapscript----queryByRect-strange-behavior-tp26235012p26272865.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26271021</id>
	<title>Re: MS4W Beta 7 -- Python-Mapscript -- queryByRect strange behavior</title>
	<published>2009-11-09T09:45:11Z</published>
	<updated>2009-11-09T09:45:11Z</updated>
	<author>
		<name>Christian Jauvin</name>
	</author>
	<content type="html">Hi Jeff,
&lt;br&gt;&lt;br&gt;I tried the MS 5.6 beta 5 patch for MS4W and it solves the problem (if
&lt;br&gt;there was one!). I guess my diagnostic test case was not relevant on
&lt;br&gt;the other hand, because although my framework now behaves correctly,
&lt;br&gt;the behavior I observed and reported in the previous message (with the
&lt;br&gt;test Python script) is again the same (distinct features that share
&lt;br&gt;the same pointer). I don't know what it means, but it now works.
&lt;br&gt;&lt;br&gt;Thanks for the suggestion, I can now resume working on my framework.
&lt;br&gt;&lt;br&gt;Christian
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Mon, Nov 9, 2009 at 7:34 AM, Jeff McKenna
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26271021&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jmckenna@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Christian Jauvin wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Following the problem description I posted last week, I have created a
&lt;br&gt;&amp;gt;&amp;gt; very simple test case: the attached Python script creates first a map
&lt;br&gt;&amp;gt;&amp;gt; by reading the attached mapfile, and then add five distinct point
&lt;br&gt;&amp;gt;&amp;gt; features to its only layer. It then performs a queryByRect that
&lt;br&gt;&amp;gt;&amp;gt; encompasses the whole layer (certain to retrieve the five features)
&lt;br&gt;&amp;gt;&amp;gt; and prints the results. On a Linux box running Python-MS 5.0, the
&lt;br&gt;&amp;gt;&amp;gt; results are:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x8cf600&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x8d28a0&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x8d2a30&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x8d2c00&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x8d2dd0&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Five distinct objects, which is what is expected, whereas the same
&lt;br&gt;&amp;gt;&amp;gt; script running on Windows with the latest version of MS4W (3b7, thus
&lt;br&gt;&amp;gt;&amp;gt; running Python-MS 5.4), I get:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x00B6DB40&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x00B6DAE0&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x00B6DB40&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x00B6DAE0&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x00B6DB40&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The problem I was describing is apparent here: the five features seem
&lt;br&gt;&amp;gt;&amp;gt; to be sharing in fact only two different objects (based on their
&lt;br&gt;&amp;gt;&amp;gt; pointer values).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I am not familiar enough with the bowels of MapServer to be able to
&lt;br&gt;&amp;gt;&amp;gt; debug this problem by myself, so again, any help would be greatly
&lt;br&gt;&amp;gt;&amp;gt; appreciated.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello Christian,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You might also test with MapServer 5.6 beta5, which you can also find on
&lt;br&gt;&amp;gt; the MS4W downloads page, as an add-on package.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Also, you could try another MapServer package on Windows (such as
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://fwtools.maptools.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fwtools.maptools.org/&lt;/a&gt;).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If you only see your issue when using MS4W, then you can file a ticket
&lt;br&gt;&amp;gt; in MS4W's tracker
&lt;br&gt;&amp;gt; (&lt;a href=&quot;http://bugzilla.maptools.org/query.cgi?GoAheadAndLogIn=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugzilla.maptools.org/query.cgi?GoAheadAndLogIn=1&lt;/a&gt;).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -jeff
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Jeff McKenna
&lt;br&gt;&amp;gt; FOSS4G Consulting and Training Services
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.gatewaygeomatics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gatewaygeomatics.com/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; MS4W-Users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26271021&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26271021&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MS4W-Beta-7----Python-Mapscript----queryByRect-strange-behavior-tp26235012p26271021.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26270294</id>
	<title>Label cut by tile</title>
	<published>2009-11-09T09:27:16Z</published>
	<updated>2009-11-09T09:27:16Z</updated>
	<author>
		<name>Clawman</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;I have been working with labels and have found that the label is cut at the tile boundry. I have used &amp;quot;force&amp;quot; to display the labels, but as the image is drawn the labels that cross the tile boundry get cut. I also have &amp;quot;Partials&amp;quot; set to true.
&lt;br&gt;&lt;br&gt;Is there a way to show the labels over the tile boundry so there is no cut off of the label?</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Label-cut-by-tile-tp26270294p26270294.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26265960</id>
	<title>Re: MS4W Beta 7 -- Python-Mapscript -- queryByRect	strange behavior</title>
	<published>2009-11-09T04:34:08Z</published>
	<updated>2009-11-09T04:34:08Z</updated>
	<author>
		<name>Jeff McKenna</name>
	</author>
	<content type="html">Christian Jauvin wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Following the problem description I posted last week, I have created a
&lt;br&gt;&amp;gt; very simple test case: the attached Python script creates first a map
&lt;br&gt;&amp;gt; by reading the attached mapfile, and then add five distinct point
&lt;br&gt;&amp;gt; features to its only layer. It then performs a queryByRect that
&lt;br&gt;&amp;gt; encompasses the whole layer (certain to retrieve the five features)
&lt;br&gt;&amp;gt; and prints the results. On a Linux box running Python-MS 5.0, the
&lt;br&gt;&amp;gt; results are:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x8cf600&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x8d28a0&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x8d2a30&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x8d2c00&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x8d2dd0&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Five distinct objects, which is what is expected, whereas the same
&lt;br&gt;&amp;gt; script running on Windows with the latest version of MS4W (3b7, thus
&lt;br&gt;&amp;gt; running Python-MS 5.4), I get:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x00B6DB40&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x00B6DAE0&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x00B6DB40&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x00B6DAE0&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x00B6DB40&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The problem I was describing is apparent here: the five features seem
&lt;br&gt;&amp;gt; to be sharing in fact only two different objects (based on their
&lt;br&gt;&amp;gt; pointer values).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am not familiar enough with the bowels of MapServer to be able to
&lt;br&gt;&amp;gt; debug this problem by myself, so again, any help would be greatly
&lt;br&gt;&amp;gt; appreciated.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Hello Christian,
&lt;br&gt;&lt;br&gt;You might also test with MapServer 5.6 beta5, which you can also find on 
&lt;br&gt;the MS4W downloads page, as an add-on package.
&lt;br&gt;&lt;br&gt;Also, you could try another MapServer package on Windows (such as 
&lt;br&gt;&lt;a href=&quot;http://fwtools.maptools.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fwtools.maptools.org/&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;If you only see your issue when using MS4W, then you can file a ticket 
&lt;br&gt;in MS4W's tracker 
&lt;br&gt;(&lt;a href=&quot;http://bugzilla.maptools.org/query.cgi?GoAheadAndLogIn=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugzilla.maptools.org/query.cgi?GoAheadAndLogIn=1&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;-jeff
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jeff McKenna
&lt;br&gt;FOSS4G Consulting and Training Services
&lt;br&gt;&lt;a href=&quot;http://www.gatewaygeomatics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gatewaygeomatics.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26265960&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MS4W-Beta-7----Python-Mapscript----queryByRect-strange-behavior-tp26235012p26265960.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26263945</id>
	<title>Re: [ms4w-users] Testing ms4w + 5.6.0 beta 3, c# mapscript: imageobj error</title>
	<published>2009-11-09T01:48:58Z</published>
	<updated>2009-11-09T01:48:58Z</updated>
	<author>
		<name>G. Tiemens</name>
	</author>
	<content type="html">&lt;br&gt;Bug filed with mapserver:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://trac.osgeo.org/mapserver/ticket/3201#preview&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trac.osgeo.org/mapserver/ticket/3201#preview&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Grontmij
&lt;br&gt;Gerben Tiemens
&lt;br&gt;GIS adviseur/ontwikkelaar GIS &amp; ICT
&lt;br&gt;Grontmij Nederland B.V.
&lt;br&gt;B De Holle Bilt 22, 3732 HM De Bilt
&lt;br&gt;P Postbus 203, 3730 AE De Bilt
&lt;br&gt;M +31 61 334 5944
&lt;br&gt;T +31 30 220 7440
&lt;br&gt;F +31 30 220 1923
&lt;br&gt;E &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263945&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gerben.Tiemens@...&lt;/a&gt;
&lt;br&gt;W &lt;a href=&quot;http://www.grontmij.nl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.grontmij.nl&lt;/a&gt;&lt;br&gt;Handelsregister 30129769
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Oorspronkelijk bericht-----
&lt;br&gt;Van: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263945&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users-bounces@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263945&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users-bounces@...&lt;/a&gt;] Namens Jeff McKenna
&lt;br&gt;Verzonden: Thursday, November 05, 2009 8:03 PM
&lt;br&gt;Aan: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263945&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users@...&lt;/a&gt;
&lt;br&gt;Onderwerp: Re: [MS4W-Users] [ms4w-users] Testing ms4w + 5.6.0 beta 3, c# mapscript: imageobj error
&lt;br&gt;&lt;br&gt;G. Tiemens wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am testing &amp;nbsp;5.6.0 beta 1,2 and 3.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As I understand, I can copy the 5.6.0 beta's over the 3.0 beta 7?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When I apply this, and rebuild my C# mapscript application with the
&lt;br&gt;&amp;gt; new csharp library, I get memory errors on creating a new imageObj.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In 3.0 beta 7, all is good and working. When I apply beta 1 over it,
&lt;br&gt;&amp;gt; and rebuild, then imediately an error occurs on creating an imageobj.
&lt;br&gt;&amp;gt; Creating a mapobj is not a problem, so path to dll's is good.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;It could be a problem with the earlier betas. &amp;nbsp;If the recent beta works, then why go back to an earlier version?
&lt;br&gt;&lt;br&gt;-jeff
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Jeff McKenna
&lt;br&gt;FOSS4G Consulting and Training Services
&lt;br&gt;&lt;a href=&quot;http://www.gatewaygeomatics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gatewaygeomatics.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263945&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;lt;&amp;lt; Please read our E-mail Disclaimer at: Emaildisclaimer.Grontmij.com &amp;gt;&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263945&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Testing-ms4w-%2B-5.6.0-beta-3%2C-c--mapscript%3A-imageobj-error-tp26213650p26263945.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26259338</id>
	<title>Re: MS4W Beta 7 -- Python-Mapscript -- queryByRect strange behavior</title>
	<published>2009-11-08T15:21:32Z</published>
	<updated>2009-11-08T15:21:32Z</updated>
	<author>
		<name>Christian Jauvin</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Following the problem description I posted last week, I have created a
&lt;br&gt;very simple test case: the attached Python script creates first a map
&lt;br&gt;by reading the attached mapfile, and then add five distinct point
&lt;br&gt;features to its only layer. It then performs a queryByRect that
&lt;br&gt;encompasses the whole layer (certain to retrieve the five features)
&lt;br&gt;and prints the results. On a Linux box running Python-MS 5.0, the
&lt;br&gt;results are:
&lt;br&gt;&lt;br&gt;&amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x8cf600&amp;gt; &amp;gt;
&lt;br&gt;&amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x8d28a0&amp;gt; &amp;gt;
&lt;br&gt;&amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x8d2a30&amp;gt; &amp;gt;
&lt;br&gt;&amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x8d2c00&amp;gt; &amp;gt;
&lt;br&gt;&amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x8d2dd0&amp;gt; &amp;gt;
&lt;br&gt;&lt;br&gt;Five distinct objects, which is what is expected, whereas the same
&lt;br&gt;script running on Windows with the latest version of MS4W (3b7, thus
&lt;br&gt;running Python-MS 5.4), I get:
&lt;br&gt;&lt;br&gt;&amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x00B6DB40&amp;gt; &amp;gt;
&lt;br&gt;&amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x00B6DAE0&amp;gt; &amp;gt;
&lt;br&gt;&amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x00B6DB40&amp;gt; &amp;gt;
&lt;br&gt;&amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x00B6DAE0&amp;gt; &amp;gt;
&lt;br&gt;&amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at 0x00B6DB40&amp;gt; &amp;gt;
&lt;br&gt;&lt;br&gt;The problem I was describing is apparent here: the five features seem
&lt;br&gt;to be sharing in fact only two different objects (based on their
&lt;br&gt;pointer values).
&lt;br&gt;&lt;br&gt;I am not familiar enough with the bowels of MapServer to be able to
&lt;br&gt;debug this problem by myself, so again, any help would be greatly
&lt;br&gt;appreciated.
&lt;br&gt;&lt;br&gt;Christian
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Fri, Nov 6, 2009 at 11:20 AM, Christian Jauvin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26259338&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cjauvin@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi everyone,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am currently developing a Python-Mapscript based web-mapping
&lt;br&gt;&amp;gt; framework (&lt;a href=&quot;http://dracones.surveillance.mcgill.ca&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dracones.surveillance.mcgill.ca&lt;/a&gt;) that worked very
&lt;br&gt;&amp;gt; well with earlier versions of MS (MS4W &amp;lt; 3 on Windows, and MS ~ 5.2 on
&lt;br&gt;&amp;gt; Linux). This week I started playing with Python 2.6, and so it lead me
&lt;br&gt;&amp;gt; to the latest beta of MS4W, which I read has a version of Python-MS
&lt;br&gt;&amp;gt; built for it. I am currently using the Beta 7.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have noticed a strange behavior with the queryByRect function,
&lt;br&gt;&amp;gt; different than what was before: when I programmatically add features
&lt;br&gt;&amp;gt; to a point layer and then try to retrieve a subset of them with
&lt;br&gt;&amp;gt; queryByRect, getNumResults gives the correct number of retrieved
&lt;br&gt;&amp;gt; features, but then the set of shapes returned by
&lt;br&gt;&amp;gt; layer.getFeature(layer.getResult(i).shapeindex) is not right. The best
&lt;br&gt;&amp;gt; way to explain in what way is isn't right is this example: when I
&lt;br&gt;&amp;gt; query for three very distinct features, what I get is this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  [&amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at
&lt;br&gt;&amp;gt; 0x01EC71E0&amp;gt; &amp;gt;,
&lt;br&gt;&amp;gt;  &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at
&lt;br&gt;&amp;gt; 0x01EC71C0&amp;gt; &amp;gt;,
&lt;br&gt;&amp;gt;  &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at
&lt;br&gt;&amp;gt; 0x01EC71E0&amp;gt; &amp;gt;]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The first and third objects seem to be the same, according to their
&lt;br&gt;&amp;gt; pointers. No matter what query I try to perform, there is always a
&lt;br&gt;&amp;gt; similar problem occurring: some pointers seem to be pointing to shared
&lt;br&gt;&amp;gt; objects, whereas they shouldn't (at least from what I understand).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I understand that this problem description may not be terribly helpful
&lt;br&gt;&amp;gt; since it may be hard to reproduce, but since it would take time to
&lt;br&gt;&amp;gt; abstract away the suspicious code in my framework, I thought that I
&lt;br&gt;&amp;gt; would go for the high-level first, in case I am missing something
&lt;br&gt;&amp;gt; obvious.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks in advance for any help,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Christian
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;from mapscript import *
&lt;br&gt;&lt;br&gt;m = mapObj('querybyrect_problem.map')
&lt;br&gt;layer = m.getLayerByName('point_layer')
&lt;br&gt;&lt;br&gt;def addPoint(layer, x, y):
&lt;br&gt;&amp;nbsp; &amp;nbsp; pt_shape = shapeObj(MS_SHAPE_POINT)
&lt;br&gt;&amp;nbsp; &amp;nbsp; pt_shape.index = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; line = lineObj()
&lt;br&gt;&amp;nbsp; &amp;nbsp; line.add(pointObj(x, y))
&lt;br&gt;&amp;nbsp; &amp;nbsp; pt_shape.add(line)
&lt;br&gt;&amp;nbsp; &amp;nbsp; layer.addFeature(pt_shape)
&lt;br&gt;&lt;br&gt;addPoint(layer, 270000.0, 5030000.0)
&lt;br&gt;addPoint(layer, 270001.0, 5030001.0)
&lt;br&gt;addPoint(layer, 270002.0, 5030002.0)
&lt;br&gt;addPoint(layer, 270003.0, 5030003.0)
&lt;br&gt;addPoint(layer, 270004.0, 5030004.0)
&lt;br&gt;&lt;br&gt;rect = rectObj(200000.0, 5000000.0, 400000.0, 5500000.0)
&lt;br&gt;succ = layer.queryByRect(m, rect)
&lt;br&gt;features = []
&lt;br&gt;if succ == MS_SUCCESS:
&lt;br&gt;&amp;nbsp; &amp;nbsp; n_res = layer.getNumResults()
&lt;br&gt;&amp;nbsp; &amp;nbsp; for j in range(n_res):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; res = layer.getResult(j)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; shp = layer.getFeature(res.shapeindex)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; features.append(shp)
&lt;br&gt;&lt;br&gt;for f in features: print f
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26259338&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;querybyrect_problem.map&lt;/strong&gt; (238 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26259338/0/querybyrect_problem.map&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MS4W-Beta-7----Python-Mapscript----queryByRect-strange-behavior-tp26235012p26259338.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26235490</id>
	<title>Re: MS4W Beta 7 -- Python-Mapscript -- queryByRect strange behavior</title>
	<published>2009-11-06T08:50:42Z</published>
	<updated>2009-11-06T08:50:42Z</updated>
	<author>
		<name>Jeff McKenna</name>
	</author>
	<content type="html">Christian Jauvin wrote:
&lt;br&gt;&amp;gt; Hi everyone,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am currently developing a Python-Mapscript based web-mapping
&lt;br&gt;&amp;gt; framework (&lt;a href=&quot;http://dracones.surveillance.mcgill.ca&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dracones.surveillance.mcgill.ca&lt;/a&gt;) 
&lt;br&gt;&lt;br&gt;Interesting! &amp;nbsp;When your new framework is ready for distribution please 
&lt;br&gt;email me directly and we'll add it to the MS4W downloads page.
&lt;br&gt;&lt;br&gt;-jeff
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jeff McKenna
&lt;br&gt;FOSS4G Consulting and Training Services
&lt;br&gt;&lt;a href=&quot;http://www.gatewaygeomatics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gatewaygeomatics.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26235490&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MS4W-Beta-7----Python-Mapscript----queryByRect-strange-behavior-tp26235012p26235490.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26235012</id>
	<title>MS4W Beta 7 -- Python-Mapscript -- queryByRect strange behavior</title>
	<published>2009-11-06T08:20:18Z</published>
	<updated>2009-11-06T08:20:18Z</updated>
	<author>
		<name>Christian Jauvin</name>
	</author>
	<content type="html">Hi everyone,
&lt;br&gt;&lt;br&gt;I am currently developing a Python-Mapscript based web-mapping
&lt;br&gt;framework (&lt;a href=&quot;http://dracones.surveillance.mcgill.ca&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dracones.surveillance.mcgill.ca&lt;/a&gt;) that worked very
&lt;br&gt;well with earlier versions of MS (MS4W &amp;lt; 3 on Windows, and MS ~ 5.2 on
&lt;br&gt;Linux). This week I started playing with Python 2.6, and so it lead me
&lt;br&gt;to the latest beta of MS4W, which I read has a version of Python-MS
&lt;br&gt;built for it. I am currently using the Beta 7.
&lt;br&gt;&lt;br&gt;I have noticed a strange behavior with the queryByRect function,
&lt;br&gt;different than what was before: when I programmatically add features
&lt;br&gt;to a point layer and then try to retrieve a subset of them with
&lt;br&gt;queryByRect, getNumResults gives the correct number of retrieved
&lt;br&gt;features, but then the set of shapes returned by
&lt;br&gt;layer.getFeature(layer.getResult(i).shapeindex) is not right. The best
&lt;br&gt;way to explain in what way is isn't right is this example: when I
&lt;br&gt;query for three very distinct features, what I get is this:
&lt;br&gt;&lt;br&gt;&amp;nbsp;[&amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at
&lt;br&gt;0x01EC71E0&amp;gt; &amp;gt;,
&lt;br&gt;&amp;nbsp; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at
&lt;br&gt;0x01EC71C0&amp;gt; &amp;gt;,
&lt;br&gt;&amp;nbsp; &amp;lt;mapscript.shapeObj; proxy of &amp;lt;Swig Object of type 'shapeObj *' at
&lt;br&gt;0x01EC71E0&amp;gt; &amp;gt;]
&lt;br&gt;&lt;br&gt;The first and third objects seem to be the same, according to their
&lt;br&gt;pointers. No matter what query I try to perform, there is always a
&lt;br&gt;similar problem occurring: some pointers seem to be pointing to shared
&lt;br&gt;objects, whereas they shouldn't (at least from what I understand).
&lt;br&gt;&lt;br&gt;I understand that this problem description may not be terribly helpful
&lt;br&gt;since it may be hard to reproduce, but since it would take time to
&lt;br&gt;abstract away the suspicious code in my framework, I thought that I
&lt;br&gt;would go for the high-level first, in case I am missing something
&lt;br&gt;obvious.
&lt;br&gt;&lt;br&gt;Thanks in advance for any help,
&lt;br&gt;&lt;br&gt;Christian
&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26235012&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MS4W-Beta-7----Python-Mapscript----queryByRect-strange-behavior-tp26235012p26235012.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26222024</id>
	<title>Re: [ms4w-users] Testing ms4w + 5.6.0 beta 3, c# 	mapscript: imageobj error</title>
	<published>2009-11-05T12:33:21Z</published>
	<updated>2009-11-05T12:33:21Z</updated>
	<author>
		<name>Tamas Szekeres</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I'd be curious to know which use case requires to create an image
&lt;br&gt;object directly. Normally you create the image obj implicitly by
&lt;br&gt;calling mapObj.draw() or something.
&lt;br&gt;&lt;br&gt;You could also do a test with these recent build packages at
&lt;br&gt;&lt;a href=&quot;http://vbkto.dyndns.org/sdk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vbkto.dyndns.org/sdk/&lt;/a&gt;&amp;nbsp; where the C# interface have also been
&lt;br&gt;tested along with the builds.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;&lt;br&gt;Tamas
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;2009/11/5 Tiemens, Gerben &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26222024&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gerben.Tiemens@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; No,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I forgot to mention that it is  in beta 1, 2 and 3.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But I probably have the fix already:
&lt;br&gt;&amp;gt; making an imageobject not anymore via the method:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; imageobj image = new imageobj(500,500,null,null)
&lt;br&gt;&amp;gt; but via method prepareImage() of the mapobj
&lt;br&gt;&amp;gt; imageobj image = mapobj.prepareImage()
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Have tot test it, not done yet.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Greetings.
&lt;br&gt;&amp;gt; ________________________________________
&lt;br&gt;&amp;gt; Van: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26222024&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users-bounces@...&lt;/a&gt; [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26222024&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users-bounces@...&lt;/a&gt;] namens Jeff McKenna [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26222024&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jmckenna@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Verzonden: donderdag 5 november 2009 20:02
&lt;br&gt;&amp;gt; Aan: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26222024&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Onderwerp: Re: [MS4W-Users] [ms4w-users] Testing ms4w + 5.6.0 beta 3, c# mapscript: imageobj error
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; G. Tiemens wrote:
&lt;br&gt;&amp;gt;&amp;gt; I am testing  5.6.0 beta 1,2 and 3.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; As I understand, I can copy the 5.6.0 beta's over the 3.0 beta 7?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; When I apply this, and rebuild my C# mapscript application with the new
&lt;br&gt;&amp;gt;&amp;gt; csharp library, I get memory errors on creating a new imageObj.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In 3.0 beta 7, all is good and working. When I apply beta 1 over it, and
&lt;br&gt;&amp;gt;&amp;gt; rebuild, then imediately an error occurs on creating an imageobj. Creating a
&lt;br&gt;&amp;gt;&amp;gt; mapobj is not a problem, so path to dll's is good.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It could be a problem with the earlier betas.  If the recent beta works,
&lt;br&gt;&amp;gt; then why go back to an earlier version?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -jeff
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Jeff McKenna
&lt;br&gt;&amp;gt; FOSS4G Consulting and Training Services
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.gatewaygeomatics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gatewaygeomatics.com/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; MS4W-Users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26222024&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;&amp;lt; Please read our E-mail Disclaimer at: Emaildisclaimer.Grontmij.com &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; MS4W-Users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26222024&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26222024&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Testing-ms4w-%2B-5.6.0-beta-3%2C-c--mapscript%3A-imageobj-error-tp26213650p26222024.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26221195</id>
	<title>Re: [ms4w-users] agg + transparency + quantize not	working</title>
	<published>2009-11-05T11:28:10Z</published>
	<updated>2009-11-05T11:28:10Z</updated>
	<author>
		<name>G. Tiemens</name>
	</author>
	<content type="html">Thanks,
&lt;br&gt;&lt;br&gt;I already found out. The mapfile with quantization options and transparency and agg renderer works if i put it in the cgi (mapserv.exe).
&lt;br&gt;&lt;br&gt;But if I use the mapscript on the same mapfile:
&lt;br&gt;mapobj.draw()
&lt;br&gt;The resulting image is not good.
&lt;br&gt;&lt;br&gt;Greetings
&lt;br&gt;Gerben
&lt;br&gt;________________________________________
&lt;br&gt;Van: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26221195&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users-bounces@...&lt;/a&gt; [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26221195&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users-bounces@...&lt;/a&gt;] namens Jeff McKenna [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26221195&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jmckenna@...&lt;/a&gt;]
&lt;br&gt;Verzonden: donderdag 5 november 2009 20:01
&lt;br&gt;Aan: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26221195&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users@...&lt;/a&gt;
&lt;br&gt;Onderwerp: Re: [MS4W-Users] [ms4w-users] agg + transparency + quantize not &amp;nbsp; &amp;nbsp; &amp;nbsp;working
&lt;br&gt;&lt;br&gt;G. Tiemens wrote:
&lt;br&gt;&amp;gt; I am busy writing a application with mapscript in C#.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Currently I am facing the earlier mentioned problems of agg + transparent
&lt;br&gt;&amp;gt; images + quantization.
&lt;br&gt;&amp;gt; Is the new MS4W compiled with the quantization options?
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;MS4W 3.0 is compiled with the '-DUSE_RGBA_PNG' option, which enables
&lt;br&gt;support for quantization of RGBA PNGs.
&lt;br&gt;&lt;br&gt;Does that answer your question properly?
&lt;br&gt;&lt;br&gt;-jeff
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Jeff McKenna
&lt;br&gt;FOSS4G Consulting and Training Services
&lt;br&gt;&lt;a href=&quot;http://www.gatewaygeomatics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gatewaygeomatics.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26221195&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;lt;&amp;lt; Please read our E-mail Disclaimer at: Emaildisclaimer.Grontmij.com &amp;gt;&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26221195&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/agg-%2B-transparency-%2B-quantize-not-working-tp26213640p26221195.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26221191</id>
	<title>Re: [ms4w-users] Testing ms4w + 5.6.0 beta 3, c# mapscript: imageobj error</title>
	<published>2009-11-05T11:24:51Z</published>
	<updated>2009-11-05T11:24:51Z</updated>
	<author>
		<name>G. Tiemens</name>
	</author>
	<content type="html">No,
&lt;br&gt;&lt;br&gt;I forgot to mention that it is &amp;nbsp;in beta 1, 2 and 3.
&lt;br&gt;&lt;br&gt;But I probably have the fix already:
&lt;br&gt;making an imageobject not anymore via the method:
&lt;br&gt;&lt;br&gt;imageobj image = new imageobj(500,500,null,null)
&lt;br&gt;but via method prepareImage() of the mapobj
&lt;br&gt;imageobj image = mapobj.prepareImage()
&lt;br&gt;&lt;br&gt;Have tot test it, not done yet.
&lt;br&gt;&lt;br&gt;Greetings.
&lt;br&gt;________________________________________
&lt;br&gt;Van: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26221191&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users-bounces@...&lt;/a&gt; [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26221191&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users-bounces@...&lt;/a&gt;] namens Jeff McKenna [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26221191&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jmckenna@...&lt;/a&gt;]
&lt;br&gt;Verzonden: donderdag 5 november 2009 20:02
&lt;br&gt;Aan: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26221191&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users@...&lt;/a&gt;
&lt;br&gt;Onderwerp: Re: [MS4W-Users] [ms4w-users] Testing ms4w + 5.6.0 beta 3, c# mapscript: imageobj error
&lt;br&gt;&lt;br&gt;G. Tiemens wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am testing &amp;nbsp;5.6.0 beta 1,2 and 3.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As I understand, I can copy the 5.6.0 beta's over the 3.0 beta 7?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When I apply this, and rebuild my C# mapscript application with the new
&lt;br&gt;&amp;gt; csharp library, I get memory errors on creating a new imageObj.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In 3.0 beta 7, all is good and working. When I apply beta 1 over it, and
&lt;br&gt;&amp;gt; rebuild, then imediately an error occurs on creating an imageobj. Creating a
&lt;br&gt;&amp;gt; mapobj is not a problem, so path to dll's is good.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;It could be a problem with the earlier betas. &amp;nbsp;If the recent beta works,
&lt;br&gt;then why go back to an earlier version?
&lt;br&gt;&lt;br&gt;-jeff
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Jeff McKenna
&lt;br&gt;FOSS4G Consulting and Training Services
&lt;br&gt;&lt;a href=&quot;http://www.gatewaygeomatics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gatewaygeomatics.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26221191&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;lt;&amp;lt; Please read our E-mail Disclaimer at: Emaildisclaimer.Grontmij.com &amp;gt;&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26221191&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Testing-ms4w-%2B-5.6.0-beta-3%2C-c--mapscript%3A-imageobj-error-tp26213650p26221191.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26220993</id>
	<title>MapServer 5.6.0-beta5 upgrade available</title>
	<published>2009-11-05T11:07:42Z</published>
	<updated>2009-11-05T11:07:42Z</updated>
	<author>
		<name>Jeff McKenna</name>
	</author>
	<content type="html">MS4W v3.0 users interested in testing the recent MapServer 5.6.0-beta5
&lt;br&gt;release can download it at:
&lt;br&gt;&lt;a href=&quot;http://www.maptools.org/dl/ms4w/mapserver_ms4w-5.6.0-beta5.zip&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.maptools.org/dl/ms4w/mapserver_ms4w-5.6.0-beta5.zip&lt;/a&gt;&amp;nbsp;(extract
&lt;br&gt;it at existing MS4W root)
&lt;br&gt;&lt;br&gt;Release notes are available at:
&lt;br&gt;&lt;a href=&quot;http://www.maptools.org/ms4w/index.phtml?page=RELEASE_mapserver_ms4w3.x_dev-5.6.0.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.maptools.org/ms4w/index.phtml?page=RELEASE_mapserver_ms4w3.x_dev-5.6.0.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;-jeff
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jeff McKenna
&lt;br&gt;FOSS4G Consulting and Training Services
&lt;br&gt;&lt;a href=&quot;http://www.gatewaygeomatics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gatewaygeomatics.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26220993&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MapServer-5.6.0-beta5-upgrade-available-tp26220993p26220993.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26220798</id>
	<title>Re: [ms4w-users] Testing ms4w + 5.6.0 beta 3, c# mapscript: imageobj error</title>
	<published>2009-11-05T11:02:44Z</published>
	<updated>2009-11-05T11:02:44Z</updated>
	<author>
		<name>Jeff McKenna</name>
	</author>
	<content type="html">G. Tiemens wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am testing &amp;nbsp;5.6.0 beta 1,2 and 3.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; As I understand, I can copy the 5.6.0 beta's over the 3.0 beta 7?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; When I apply this, and rebuild my C# mapscript application with the new
&lt;br&gt;&amp;gt; csharp library, I get memory errors on creating a new imageObj.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In 3.0 beta 7, all is good and working. When I apply beta 1 over it, and
&lt;br&gt;&amp;gt; rebuild, then imediately an error occurs on creating an imageobj. Creating a
&lt;br&gt;&amp;gt; mapobj is not a problem, so path to dll's is good.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;It could be a problem with the earlier betas. &amp;nbsp;If the recent beta works, 
&lt;br&gt;then why go back to an earlier version?
&lt;br&gt;&lt;br&gt;-jeff
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jeff McKenna
&lt;br&gt;FOSS4G Consulting and Training Services
&lt;br&gt;&lt;a href=&quot;http://www.gatewaygeomatics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gatewaygeomatics.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26220798&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Testing-ms4w-%2B-5.6.0-beta-3%2C-c--mapscript%3A-imageobj-error-tp26213650p26220798.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26220791</id>
	<title>Re: [ms4w-users] agg + transparency + quantize not working</title>
	<published>2009-11-05T11:01:28Z</published>
	<updated>2009-11-05T11:01:28Z</updated>
	<author>
		<name>Jeff McKenna</name>
	</author>
	<content type="html">G. Tiemens wrote:
&lt;br&gt;&amp;gt; I am busy writing a application with mapscript in C#.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Currently I am facing the earlier mentioned problems of agg + transparent
&lt;br&gt;&amp;gt; images + quantization.
&lt;br&gt;&amp;gt; Is the new MS4W compiled with the quantization options?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;MS4W 3.0 is compiled with the '-DUSE_RGBA_PNG' option, which enables 
&lt;br&gt;support for quantization of RGBA PNGs.
&lt;br&gt;&lt;br&gt;Does that answer your question properly?
&lt;br&gt;&lt;br&gt;-jeff
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jeff McKenna
&lt;br&gt;FOSS4G Consulting and Training Services
&lt;br&gt;&lt;a href=&quot;http://www.gatewaygeomatics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gatewaygeomatics.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26220791&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/agg-%2B-transparency-%2B-quantize-not-working-tp26213640p26220791.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26220786</id>
	<title>Re: Error building mapserver - windows vista</title>
	<published>2009-11-05T10:58:06Z</published>
	<updated>2009-11-05T10:58:06Z</updated>
	<author>
		<name>Jeff McKenna</name>
	</author>
	<content type="html">joel ml wrote:
&lt;br&gt;&amp;gt; 	cl /nologo /Ox /MD /W3 &amp;nbsp;/EHsc /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE -IC:\Projects\mapserver-5.4.2\..\gd-2.0.35 &amp;nbsp;-IC:\Projects\mapserver-5.4.2\..\jpeg-6b &amp;nbsp; -IC:\Projects\mapserver-5.4.2\..\proj-svn-04222009/src -IC:\Projects\mapserver-5.4.2\..\regex-0.12 -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/gcore -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/alg -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/ogr -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/port -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/ogr/ogrsf_frmts -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/ogr -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/port &amp;nbsp;-IC:\Projects\mapserver-5.4.2\..\curl-7.19.4/include &amp;nbsp;-IC:\Projects\mapserver-5.4.2\..\PDFlib-Lite-7.0.4p1/libs/pdflib -IC:\Projects\mapserver-5.4.2\..\postgresql-8.3.7/src/interfaces/libpq -IC:\Projects\mapserver-5.4.2\..\postgresql-8.3.7/src/include &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp;-IC:\Projects\mapserver-5.4.2\..\libiconv-1.9.1\include &amp;nbsp;-IC:\Projects\mapserver-5.4.2\..\geos-06232009/source/headers -IC:\Projects\mapserver-5.4.2\..\geos-06232009/capi -IC:\Projects\mapserver-5.4.2\..\zlib-1.2.3 -IC:\Projects\mapserver-5.4.2\..\libxml2-2.7.3.win32/include &amp;nbsp;-IC:\Projects\mapserver-5.4.2\..\agg-2.4\include -IC:\Projects\mapserver-5.4.2\..\agg-2.4\include\platform\win32 -IC:\Projects\mapserver-5.4.2\..\freetype-2.3.9\include -IC:\Projects\mapserver-5.4.2\..\agg-2.4\font_freetype -IC:\Projects\mapserver-5.4.2\..\libpng-1.2.35 -IC:\Projects\mapserver-5.4.2\..\fribidi-0.19.1\lib -IC:\Projects\mapserver-5.4.2\..\fribidi-0.19.1\charset -DHAVE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP -DNEED_STRLCAT -DNEED_STRRSTR -DNEED_STRCASESTR -DUSE_POSTGIS &amp;nbsp; -DUSE_PROJ -DUSE_PROJ_API_H &amp;nbsp;-DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG &amp;nbsp;-DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR -DUSE_GD_FT -DGD_HAS_GETBITMAPFONT -DGD_HAS_FTEX_XSHOW -DUSE_OGR
&lt;br&gt;&amp;gt; &amp;nbsp;-DUSE_WMS_SVR -DUSE_THREAD &amp;nbsp;-DUSE_WMS_LYR &amp;nbsp;-DIGNORE_MISSING_DATA &amp;nbsp; &amp;nbsp; &amp;nbsp;-DUSE_GDAL &amp;nbsp; -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_PDF &amp;nbsp; -DUSE_GD_ANTIALIAS &amp;nbsp; &amp;nbsp; -DUSE_ICONV -DUSE_GEOS -DUSE_ZLIB -DUSE_SOS_SVR &amp;nbsp;-DUSE_LIBXML2 -DUSE_AGG -DUSE_RGBA_PNG -DUSE_FRIBIDI -DWIN32 -D_WIN32 /c maphttp.c /Fomaphttp.obj
&lt;br&gt;&amp;gt; maphttp.c
&lt;br&gt;&amp;gt; C:\Projects\mapserver-5.4.2\..\curl-7.19.4/include\curl/curl.h(64) : fatal error C1083: No se puede abrir el archivo incluir: 'winsock2.h': No such file or directory
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ........................................................................
&lt;br&gt;&amp;gt; help!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;It looks like you need to point your build to the Microsoft SDK (I use 
&lt;br&gt;v6.1), which does include the file 'winsock2.h'
&lt;br&gt;&lt;br&gt;-jeff
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jeff McKenna
&lt;br&gt;FOSS4G Consulting and Training Services
&lt;br&gt;&lt;a href=&quot;http://www.gatewaygeomatics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gatewaygeomatics.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26220786&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-building-mapserver---windows-vista-tp26173163p26220786.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26220781</id>
	<title>Re: Rv: Nuevo proyecto basado en ms4w - New project based	on ms4w</title>
	<published>2009-11-05T10:53:21Z</published>
	<updated>2009-11-05T10:53:21Z</updated>
	<author>
		<name>Jeff McKenna</name>
	</author>
	<content type="html">joel ml wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; English:
&lt;br&gt;&amp;gt;&amp;gt; ----------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; Hello throughout the community of users of ms4w, my name is
&lt;br&gt;&amp;gt;&amp;gt; Joel Mamani Lopez from Bolivia, i write to invite lowered
&lt;br&gt;&amp;gt;&amp;gt; the project that i am Sourceforge.net 
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;EvSIG MapServer Java&amp;quot; 
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://sourceforge.net/projects/evsigmapserverj/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/projects/evsigmapserverj/&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; Is an editor of MapFiles this developed with Mapscript
&lt;br&gt;&amp;gt;&amp;gt; Java, i hope that could be considered as a &amp;quot;Applications
&lt;br&gt;&amp;gt;&amp;gt; Packaged for MS4W&amp;quot; any suggestion of the project is
&lt;br&gt;&amp;gt;&amp;gt; welcome!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; visit blog:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://mapscript.blogspot.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mapscript.blogspot.com/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Hello Joel,
&lt;br&gt;&lt;br&gt;Yes of course it would be great if we could list your application on the 
&lt;br&gt;MS4W downloads page. &amp;nbsp;Please email directly and we'll do this together. 
&lt;br&gt;&amp;nbsp; Thanks!
&lt;br&gt;&lt;br&gt;-jeff
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jeff McKenna
&lt;br&gt;FOSS4G Consulting and Training Services
&lt;br&gt;&lt;a href=&quot;http://www.gatewaygeomatics.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gatewaygeomatics.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26220781&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Rv%3A-Nuevo-proyecto-basado-en-ms4w---New-project-based-on-ms4w-tp26172701p26220781.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26218864</id>
	<title>Re: [ms4w-users] agg + transparency + quantize not working</title>
	<published>2009-11-05T09:01:06Z</published>
	<updated>2009-11-05T09:01:06Z</updated>
	<author>
		<name>G. Tiemens</name>
	</author>
	<content type="html">&lt;br&gt;Further research drills down to where the problem may occur:
&lt;br&gt;&lt;br&gt;If i test my saved mapfile from mapscript into the apache/cgi-bin/mapserv.exe
&lt;br&gt;The image is coming out as it should be.
&lt;br&gt;Transparent background, features like it should be, and text also as it should be.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Am i doing something wrong in mapscript? Are there configurations that I may miss in mapscript that are default in mapserv.exe?
&lt;br&gt;&lt;br&gt;I also don't know if this is a problem of Mapserver or MS4W, therefore crossposting it.
&lt;br&gt;&lt;br&gt;Greetings
&lt;br&gt;&lt;br&gt;Gerben
&lt;br&gt;&lt;br&gt;&lt;br&gt;Grontmij
&lt;br&gt;Gerben Tiemens
&lt;br&gt;GIS adviseur/ontwikkelaar GIS &amp; ICT
&lt;br&gt;Grontmij Nederland B.V.
&lt;br&gt;B De Holle Bilt 22, 3732 HM De Bilt
&lt;br&gt;P Postbus 203, 3730 AE De Bilt
&lt;br&gt;M +31 61 334 5944
&lt;br&gt;T +31 30 220 7440
&lt;br&gt;F +31 30 220 1923
&lt;br&gt;E &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26218864&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gerben.Tiemens@...&lt;/a&gt;
&lt;br&gt;W &lt;a href=&quot;http://www.grontmij.nl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.grontmij.nl&lt;/a&gt;&lt;br&gt;Handelsregister 30129769
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Oorspronkelijk bericht-----
&lt;br&gt;Van: Tiemens, Gerben
&lt;br&gt;Verzonden: Thursday, November 05, 2009 4:21 PM
&lt;br&gt;Aan: Tiemens, Gerben; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26218864&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users@...&lt;/a&gt;
&lt;br&gt;Onderwerp: RE: [MS4W-Users] [ms4w-users] agg + transparency + quantize not working
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;In addition to previous email : &amp;nbsp;further testing revealed that the transparent color is always black.
&lt;br&gt;So if I set
&lt;br&gt;&lt;br&gt;imagecolor 99 99 99
&lt;br&gt;transparent = true
&lt;br&gt;&lt;br&gt;And outputformat to:
&lt;br&gt;OUTPUTFORMAT
&lt;br&gt;&amp;nbsp; &amp;nbsp; NAME &amp;quot;PNG_mapscript&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; MIMETYPE &amp;quot;image/png&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; DRIVER &amp;quot;GD/PNG&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; EXTENSION &amp;quot;PNG&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; IMAGEMODE &amp;quot;RGBA&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; TRANSPARENT TRUE
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_FORCE=on&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_COLORS=256&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_NEW=on&amp;quot;
&lt;br&gt;&amp;nbsp;END
&lt;br&gt;&lt;br&gt;The image appears grey.
&lt;br&gt;The black labels with white backgroundcolor and black shadowcolor in original image are mapped to: white background with gray outline characters and transparent filling and the shadow is grayoutlined with transparent filling. Probably the antialiasing generates the grey outline, the black filling is converted to transparent.
&lt;br&gt;&lt;br&gt;Something is going wrong.
&lt;br&gt;&lt;br&gt;&lt;br&gt;If I set output format to:
&lt;br&gt;&lt;br&gt;&amp;nbsp;OUTPUTFORMAT
&lt;br&gt;&amp;nbsp; &amp;nbsp; NAME &amp;quot;PNG_mapscript&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; MIMETYPE &amp;quot;image/png; mode=24bit&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; DRIVER &amp;quot;AGG/PNG&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; EXTENSION &amp;quot;PNG&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; IMAGEMODE &amp;quot;RGBA&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; TRANSPARENT TRUE
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_FORCE=on&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_DITHER=off&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_COLORS=256&amp;quot;
&lt;br&gt;&amp;nbsp; END
&lt;br&gt;&lt;br&gt;The same applies for the text/labels, &amp;nbsp;but background of the image is now black in all circumstances (no matter what color of imagecolor setting.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Greetings
&lt;br&gt;Gerben
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Oorspronkelijk bericht-----
&lt;br&gt;Van: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26218864&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users-bounces@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26218864&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users-bounces@...&lt;/a&gt;] Namens G. Tiemens
&lt;br&gt;Verzonden: Thursday, November 05, 2009 1:46 PM
&lt;br&gt;Aan: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26218864&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users@...&lt;/a&gt;
&lt;br&gt;Onderwerp: [MS4W-Users] [ms4w-users] agg + transparency + quantize not working
&lt;br&gt;&lt;br&gt;&lt;br&gt;I am busy writing a application with mapscript in C#.
&lt;br&gt;&lt;br&gt;Currently I am facing the earlier mentioned problems of agg + transparent images + quantization.
&lt;br&gt;Is the new MS4W compiled with the quantization options?
&lt;br&gt;&lt;br&gt;The image background is now Black. The labels are dissapearing.
&lt;br&gt;It should be an image wich is completly transparent with some colored lines and some black labels.
&lt;br&gt;&lt;br&gt;Setting the imagecolor will not help me.
&lt;br&gt;Images without quantization options on, are perfect and beautiful png's.
&lt;br&gt;&lt;br&gt;&lt;br&gt;What I am using now is this:
&lt;br&gt;MS4W 3.0 Beta 7
&lt;br&gt;C# mapscript
&lt;br&gt;&lt;br&gt;&lt;br&gt;Mapfile is completely written in C#, so all default options apply.
&lt;br&gt;I saved
&lt;br&gt;&lt;br&gt;MAP
&lt;br&gt;&amp;nbsp; EXTENT 104952 495303 105452 495803
&lt;br&gt;&amp;nbsp; IMAGECOLOR 255 255 255
&lt;br&gt;&amp;nbsp; IMAGETYPE gif
&lt;br&gt;&amp;nbsp; SIZE 2000 2000
&lt;br&gt;&amp;nbsp; STATUS ON
&lt;br&gt;&amp;nbsp; UNITS METERS
&lt;br&gt;&amp;nbsp; NAME &amp;quot;MS&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;nbsp; OUTPUTFORMAT
&lt;br&gt;&amp;nbsp; &amp;nbsp; NAME &amp;quot;PNG_mapscript&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; MIMETYPE &amp;quot;image/png; mode=24bit&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; DRIVER &amp;quot;AGG/PNG&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; EXTENSION &amp;quot;PNG&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; IMAGEMODE &amp;quot;RGBA&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; TRANSPARENT TRUE
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_FORCE=on&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_DITHER=off&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_COLORS=256&amp;quot;
&lt;br&gt;&amp;nbsp; END
&lt;br&gt;&lt;br&gt;&amp;nbsp; SYMBOL
&lt;br&gt;&amp;nbsp; &amp;nbsp; NAME &amp;quot;circle&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; TYPE ELLIPSE
&lt;br&gt;&amp;nbsp; &amp;nbsp; FILLED TRUE
&lt;br&gt;&amp;nbsp; &amp;nbsp; POINTS
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 1 1
&lt;br&gt;&amp;nbsp; &amp;nbsp; END
&lt;br&gt;&amp;nbsp; END
&lt;br&gt;--
&lt;br&gt;*snip*
&lt;br&gt;--
&lt;br&gt;END
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;View this message in context: &lt;a href=&quot;http://old.nabble.com/agg-%2B-transparency-%2B-quantize-not-working-tp26213640p26213640.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/agg-%2B-transparency-%2B-quantize-not-working-tp26213640p26213640.html&lt;/a&gt;&lt;br&gt;Sent from the ms4w-users mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26218864&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;lt;&amp;lt; Please read our E-mail Disclaimer at: Emaildisclaimer.Grontmij.com &amp;gt;&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26218864&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/agg-%2B-transparency-%2B-quantize-not-working-tp26213640p26218864.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26217256</id>
	<title>Re: [ms4w-users] agg + transparency + quantize not working</title>
	<published>2009-11-05T07:20:44Z</published>
	<updated>2009-11-05T07:20:44Z</updated>
	<author>
		<name>G. Tiemens</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;In addition to previous email : &amp;nbsp;further testing revealed that the transparent color is always black.
&lt;br&gt;So if I set
&lt;br&gt;&lt;br&gt;imagecolor 99 99 99
&lt;br&gt;transparent = true
&lt;br&gt;&lt;br&gt;And outputformat to:
&lt;br&gt;OUTPUTFORMAT
&lt;br&gt;&amp;nbsp; &amp;nbsp; NAME &amp;quot;PNG_mapscript&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; MIMETYPE &amp;quot;image/png&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; DRIVER &amp;quot;GD/PNG&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; EXTENSION &amp;quot;PNG&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; IMAGEMODE &amp;quot;RGBA&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; TRANSPARENT TRUE
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_FORCE=on&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_COLORS=256&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_NEW=on&amp;quot;
&lt;br&gt;&amp;nbsp;END
&lt;br&gt;&lt;br&gt;The image appears grey.
&lt;br&gt;The black labels with white backgroundcolor and black shadowcolor in original image are mapped to: white background with gray outline characters and transparent filling and the shadow is grayoutlined with transparent filling. Probably the antialiasing generates the grey outline, the black filling is converted to transparent.
&lt;br&gt;&lt;br&gt;Something is going wrong.
&lt;br&gt;&lt;br&gt;&lt;br&gt;If I set output format to:
&lt;br&gt;&lt;br&gt;&amp;nbsp;OUTPUTFORMAT
&lt;br&gt;&amp;nbsp; &amp;nbsp; NAME &amp;quot;PNG_mapscript&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; MIMETYPE &amp;quot;image/png; mode=24bit&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; DRIVER &amp;quot;AGG/PNG&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; EXTENSION &amp;quot;PNG&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; IMAGEMODE &amp;quot;RGBA&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; TRANSPARENT TRUE
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_FORCE=on&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_DITHER=off&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_COLORS=256&amp;quot;
&lt;br&gt;&amp;nbsp; END
&lt;br&gt;&lt;br&gt;The same applies for the text/labels, &amp;nbsp;but background of the image is now black in all circumstances (no matter what color of imagecolor setting.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Greetings
&lt;br&gt;Gerben
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Oorspronkelijk bericht-----
&lt;br&gt;Van: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26217256&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users-bounces@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26217256&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users-bounces@...&lt;/a&gt;] Namens G. Tiemens
&lt;br&gt;Verzonden: Thursday, November 05, 2009 1:46 PM
&lt;br&gt;Aan: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26217256&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ms4w-users@...&lt;/a&gt;
&lt;br&gt;Onderwerp: [MS4W-Users] [ms4w-users] agg + transparency + quantize not working
&lt;br&gt;&lt;br&gt;&lt;br&gt;I am busy writing a application with mapscript in C#.
&lt;br&gt;&lt;br&gt;Currently I am facing the earlier mentioned problems of agg + transparent images + quantization.
&lt;br&gt;Is the new MS4W compiled with the quantization options?
&lt;br&gt;&lt;br&gt;The image background is now Black. The labels are dissapearing.
&lt;br&gt;It should be an image wich is completly transparent with some colored lines and some black labels.
&lt;br&gt;&lt;br&gt;Setting the imagecolor will not help me.
&lt;br&gt;Images without quantization options on, are perfect and beautiful png's.
&lt;br&gt;&lt;br&gt;&lt;br&gt;What I am using now is this:
&lt;br&gt;MS4W 3.0 Beta 7
&lt;br&gt;C# mapscript
&lt;br&gt;&lt;br&gt;&lt;br&gt;Mapfile is completely written in C#, so all default options apply.
&lt;br&gt;I saved
&lt;br&gt;&lt;br&gt;MAP
&lt;br&gt;&amp;nbsp; EXTENT 104952 495303 105452 495803
&lt;br&gt;&amp;nbsp; IMAGECOLOR 255 255 255
&lt;br&gt;&amp;nbsp; IMAGETYPE gif
&lt;br&gt;&amp;nbsp; SIZE 2000 2000
&lt;br&gt;&amp;nbsp; STATUS ON
&lt;br&gt;&amp;nbsp; UNITS METERS
&lt;br&gt;&amp;nbsp; NAME &amp;quot;MS&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;nbsp; OUTPUTFORMAT
&lt;br&gt;&amp;nbsp; &amp;nbsp; NAME &amp;quot;PNG_mapscript&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; MIMETYPE &amp;quot;image/png; mode=24bit&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; DRIVER &amp;quot;AGG/PNG&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; EXTENSION &amp;quot;PNG&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; IMAGEMODE &amp;quot;RGBA&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; TRANSPARENT TRUE
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_FORCE=on&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_DITHER=off&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_COLORS=256&amp;quot;
&lt;br&gt;&amp;nbsp; END
&lt;br&gt;&lt;br&gt;&amp;nbsp; SYMBOL
&lt;br&gt;&amp;nbsp; &amp;nbsp; NAME &amp;quot;circle&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; TYPE ELLIPSE
&lt;br&gt;&amp;nbsp; &amp;nbsp; FILLED TRUE
&lt;br&gt;&amp;nbsp; &amp;nbsp; POINTS
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 1 1
&lt;br&gt;&amp;nbsp; &amp;nbsp; END
&lt;br&gt;&amp;nbsp; END
&lt;br&gt;--
&lt;br&gt;*snip*
&lt;br&gt;--
&lt;br&gt;END
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;View this message in context: &lt;a href=&quot;http://old.nabble.com/agg-%2B-transparency-%2B-quantize-not-working-tp26213640p26213640.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/agg-%2B-transparency-%2B-quantize-not-working-tp26213640p26213640.html&lt;/a&gt;&lt;br&gt;Sent from the ms4w-users mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26217256&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;lt;&amp;lt; Please read our E-mail Disclaimer at: Emaildisclaimer.Grontmij.com &amp;gt;&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26217256&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/agg-%2B-transparency-%2B-quantize-not-working-tp26213640p26217256.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26213650</id>
	<title>Testing ms4w + 5.6.0 beta 3, c# mapscript: imageobj error</title>
	<published>2009-11-05T05:02:49Z</published>
	<updated>2009-11-05T05:02:49Z</updated>
	<author>
		<name>G. Tiemens</name>
	</author>
	<content type="html">I am testing &amp;nbsp;5.6.0 beta 1,2 and 3.
&lt;br&gt;&lt;br&gt;As I understand, I can copy the 5.6.0 beta's over the 3.0 beta 7?
&lt;br&gt;&lt;br&gt;When I apply this, and rebuild my C# mapscript application with the new csharp library, I get memory errors on creating a new imageObj.
&lt;br&gt;&lt;br&gt;In 3.0 beta 7, all is good and working. When I apply beta 1 over it, and rebuild, then imediately an error occurs on creating an imageobj. Creating a mapobj is not a problem, so path to dll's is good.
&lt;br&gt;&lt;br&gt;Greetings
&lt;br&gt;Gerben
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Testing-ms4w-%2B-5.6.0-beta-3%2C-c--mapscript%3A-imageobj-error-tp26213650p26213650.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26213640</id>
	<title>agg + transparency + quantize not working</title>
	<published>2009-11-05T04:46:12Z</published>
	<updated>2009-11-05T04:46:12Z</updated>
	<author>
		<name>G. Tiemens</name>
	</author>
	<content type="html">I am busy writing a application with mapscript in C#.
&lt;br&gt;&lt;br&gt;Currently I am facing the earlier mentioned problems of agg + transparent images + quantization.
&lt;br&gt;Is the new MS4W compiled with the quantization options?
&lt;br&gt;&lt;br&gt;The image background is now Black. The labels are dissapearing.
&lt;br&gt;It should be an image wich is completly transparent with some colored lines and some black labels.
&lt;br&gt;&lt;br&gt;Setting the imagecolor will not help me.
&lt;br&gt;Images without quantization options on, are perfect and beautiful png's.
&lt;br&gt;&lt;br&gt;&lt;br&gt;What I am using now is this:
&lt;br&gt;&lt;b&gt;MS4W 3.0 Beta 7 &lt;/b&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;C# mapscript
&lt;br&gt;&lt;br&gt;&lt;br&gt;Mapfile is completely written in C#, so all default options apply.
&lt;br&gt;I saved
&lt;br&gt;&lt;br&gt;MAP
&lt;br&gt;&amp;nbsp; EXTENT 104952 495303 105452 495803
&lt;br&gt;&amp;nbsp; IMAGECOLOR 255 255 255
&lt;br&gt;&amp;nbsp; IMAGETYPE gif
&lt;br&gt;&amp;nbsp; SIZE 2000 2000
&lt;br&gt;&amp;nbsp; STATUS ON
&lt;br&gt;&amp;nbsp; UNITS METERS
&lt;br&gt;&amp;nbsp; NAME &amp;quot;MS&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;nbsp; OUTPUTFORMAT
&lt;br&gt;&amp;nbsp; &amp;nbsp; NAME &amp;quot;PNG_mapscript&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; MIMETYPE &amp;quot;image/png; mode=24bit&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; DRIVER &amp;quot;AGG/PNG&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; EXTENSION &amp;quot;PNG&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; IMAGEMODE &amp;quot;RGBA&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; TRANSPARENT TRUE
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_FORCE=on&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_DITHER=off&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; FORMATOPTION &amp;quot;QUANTIZE_COLORS=256&amp;quot;
&lt;br&gt;&amp;nbsp; END
&lt;br&gt;&lt;br&gt;&amp;nbsp; SYMBOL
&lt;br&gt;&amp;nbsp; &amp;nbsp; NAME &amp;quot;circle&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; TYPE ELLIPSE
&lt;br&gt;&amp;nbsp; &amp;nbsp; FILLED TRUE
&lt;br&gt;&amp;nbsp; &amp;nbsp; POINTS
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 1 1
&lt;br&gt;&amp;nbsp; &amp;nbsp; END
&lt;br&gt;&amp;nbsp; END
&lt;br&gt;--
&lt;br&gt;*snip*
&lt;br&gt;--
&lt;br&gt;END
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/agg-%2B-transparency-%2B-quantize-not-working-tp26213640p26213640.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26173436</id>
	<title>Error con ShapeObj in mapscript java - ms4w 2.3</title>
	<published>2009-11-02T16:38:42Z</published>
	<updated>2009-11-02T16:38:42Z</updated>
	<author>
		<name>joel mamani</name>
	</author>
	<content type="html">-----------------------------------------------------
&lt;br&gt;import java.io.IOException;
&lt;br&gt;import edu.umn.gis.mapscript.mapObj;
&lt;br&gt;import edu.umn.gis.mapscript.shapeObj;
&lt;br&gt;public class PruebasShapes {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* @param args
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* @throws IOException 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public static void main(String[] args) throws IOException {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mapObj m=new mapObj(&amp;quot;&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; shapeObj s=shapeObj.fromWKT(&amp;quot;LINE((2000 2500, 70 4322))&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.print(&amp;quot;&amp;quot;+s.getCentroid().toString());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;}
&lt;br&gt;--------------------------------------------------------
&lt;br&gt;Error:
&lt;br&gt;--------------------------------------------------------
&lt;br&gt;Exception in thread &amp;quot;main&amp;quot; java.lang.UnknownError: msGEOSShapeFromWKT(): GEOS library error. Error reading WKT geometry &amp;quot;LINE((2000 2500, 70 4322))&amp;quot;.;msGEOSError(): GEOS library error. ParseException: Unknown type: 'LINE'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at edu.umn.gis.mapscript.mapscriptJNI.shapeObj_fromWKT(Native Method)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at edu.umn.gis.mapscript.shapeObj.fromWKT(shapeObj.java:108)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at PruebasShapes.main(PruebasShapes.java:12)
&lt;br&gt;--------------------------------------------------------
&lt;br&gt;Help!
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Yahoo! Cocina
&lt;br&gt;&lt;br&gt;Encontra las mejores recetas con Yahoo! Cocina.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://ar.mujer.yahoo.com/cocina/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ar.mujer.yahoo.com/cocina/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26173436&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-con-ShapeObj-in-mapscript-java---ms4w-2.3-tp26173436p26173436.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26173163</id>
	<title>Error building mapserver - windows vista</title>
	<published>2009-11-02T16:05:31Z</published>
	<updated>2009-11-02T16:05:31Z</updated>
	<author>
		<name>joel mamani</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cl /nologo /Ox /MD /W3 &amp;nbsp;/EHsc /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE -IC:\Projects\mapserver-5.4.2\..\gd-2.0.35 &amp;nbsp;-IC:\Projects\mapserver-5.4.2\..\jpeg-6b &amp;nbsp; -IC:\Projects\mapserver-5.4.2\..\proj-svn-04222009/src -IC:\Projects\mapserver-5.4.2\..\regex-0.12 -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/gcore -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/alg -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/ogr -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/port -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/ogr/ogrsf_frmts -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/ogr -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/port &amp;nbsp;-IC:\Projects\mapserver-5.4.2\..\curl-7.19.4/include &amp;nbsp;-IC:\Projects\mapserver-5.4.2\..\PDFlib-Lite-7.0.4p1/libs/pdflib -IC:\Projects\mapserver-5.4.2\..\postgresql-8.3.7/src/interfaces/libpq -IC:\Projects\mapserver-5.4.2\..\postgresql-8.3.7/src/include &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp;-IC:\Projects\mapserver-5.4.2\..\libiconv-1.9.1\include &amp;nbsp;-IC:\Projects\mapserver-5.4.2\..\geos-06232009/source/headers -IC:\Projects\mapserver-5.4.2\..\geos-06232009/capi -IC:\Projects\mapserver-5.4.2\..\zlib-1.2.3 -IC:\Projects\mapserver-5.4.2\..\libxml2-2.7.3.win32/include &amp;nbsp;-IC:\Projects\mapserver-5.4.2\..\agg-2.4\include -IC:\Projects\mapserver-5.4.2\..\agg-2.4\include\platform\win32 -IC:\Projects\mapserver-5.4.2\..\freetype-2.3.9\include -IC:\Projects\mapserver-5.4.2\..\agg-2.4\font_freetype -IC:\Projects\mapserver-5.4.2\..\libpng-1.2.35 -IC:\Projects\mapserver-5.4.2\..\fribidi-0.19.1\lib -IC:\Projects\mapserver-5.4.2\..\fribidi-0.19.1\charset -DHAVE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP -DNEED_STRLCAT -DNEED_STRRSTR -DNEED_STRCASESTR -DUSE_POSTGIS &amp;nbsp; -DUSE_PROJ -DUSE_PROJ_API_H &amp;nbsp;-DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG &amp;nbsp;-DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR -DUSE_GD_FT -DGD_HAS_GETBITMAPFONT -DGD_HAS_FTEX_XSHOW -DUSE_OGR
&lt;br&gt;&amp;nbsp;-DUSE_WMS_SVR -DUSE_THREAD &amp;nbsp;-DUSE_WMS_LYR &amp;nbsp;-DIGNORE_MISSING_DATA &amp;nbsp; &amp;nbsp; &amp;nbsp;-DUSE_GDAL &amp;nbsp; -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_PDF &amp;nbsp; -DUSE_GD_ANTIALIAS &amp;nbsp; &amp;nbsp; -DUSE_ICONV -DUSE_GEOS -DUSE_ZLIB -DUSE_SOS_SVR &amp;nbsp;-DUSE_LIBXML2 -DUSE_AGG -DUSE_RGBA_PNG -DUSE_FRIBIDI -DWIN32 -D_WIN32 /c maphttp.c /Fomaphttp.obj
&lt;br&gt;maphttp.c
&lt;br&gt;C:\Projects\mapserver-5.4.2\..\curl-7.19.4/include\curl/curl.h(64) : fatal error C1083: No se puede abrir el archivo incluir: 'winsock2.h': No such file or directory
&lt;br&gt;&lt;br&gt;........................................................................
&lt;br&gt;help!
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Yahoo! Cocina
&lt;br&gt;&lt;br&gt;Encontra las mejores recetas con Yahoo! Cocina.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://ar.mujer.yahoo.com/cocina/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ar.mujer.yahoo.com/cocina/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;MS4W-Users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26173163&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MS4W-Users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.maptools.org/mailman/listinfo/ms4w-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.maptools.org/mailman/listinfo/ms4w-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-building-mapserver---windows-vista-tp26173163p26173163.html" />
</entry>

</feed>
