<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Implementing the C# mapscript code (c# mapscript tutorial, part 5)</title>
	<atom:link href="http://www.paolocorti.net/2006/07/26/implementing-the-c-mapscript-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.paolocorti.net/2006/07/26/implementing-the-c-mapscript-code/</link>
	<description>a blog about GIS, CMS, agile development and design patterns</description>
	<pubDate>Wed, 10 Mar 2010 19:28:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: nitin</title>
		<link>http://www.paolocorti.net/2006/07/26/implementing-the-c-mapscript-code/comment-page-1/#comment-42131</link>
		<dc:creator>nitin</dc:creator>
		<pubDate>Sat, 12 Jan 2008 20:13:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.paolocorti.net/public/wordpress/index.php/2006/07/26/implementing-the-c-mapscript-code/#comment-42131</guid>
		<description>hi!
i am just studing on .net,&amp; i am developing
an application for which i need a code for zooming &amp; zoom out an image.
plz help me out.
thnx.</description>
		<content:encoded><![CDATA[<p>hi!<br />
i am just studing on .net,&amp; i am developing<br />
an application for which i need a code for zooming &amp; zoom out an image.<br />
plz help me out.<br />
thnx.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: johnny</title>
		<link>http://www.paolocorti.net/2006/07/26/implementing-the-c-mapscript-code/comment-page-1/#comment-36643</link>
		<dc:creator>johnny</dc:creator>
		<pubDate>Tue, 18 Dec 2007 21:18:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.paolocorti.net/public/wordpress/index.php/2006/07/26/implementing-the-c-mapscript-code/#comment-36643</guid>
		<description>hi paolo

great example but not working for me

this is my problem

if(layer.status==(int)mapscript.MS_ON)
{
cblLayers.Items[i].Selected = true;â€”-&gt; in this line ERROR TypeInitializationException mapscript

visual web developer 2005 C#
postgre 8.2 windows
postgist

please help meee

cheer s from chile</description>
		<content:encoded><![CDATA[<p>hi paolo</p>
<p>great example but not working for me</p>
<p>this is my problem</p>
<p>if(layer.status==(int)mapscript.MS_ON)<br />
{<br />
cblLayers.Items[i].Selected = true;â€”-&gt; in this line ERROR TypeInitializationException mapscript</p>
<p>visual web developer 2005 C#<br />
postgre 8.2 windows<br />
postgist</p>
<p>please help meee</p>
<p>cheer s from chile</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: johnny</title>
		<link>http://www.paolocorti.net/2006/07/26/implementing-the-c-mapscript-code/comment-page-1/#comment-36642</link>
		<dc:creator>johnny</dc:creator>
		<pubDate>Tue, 18 Dec 2007 21:16:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.paolocorti.net/public/wordpress/index.php/2006/07/26/implementing-the-c-mapscript-code/#comment-36642</guid>
		<description>hi paolo

great example but not working for me

this is my problem

if(layer.status==(int)mapscript.MS_ON)
{
    cblLayers.Items[i].Selected = true;----&gt; in this line ERROR

visual web developer 2005 C#
postgre 8.2 windows
postgist

please help meee

cheer s from chile</description>
		<content:encoded><![CDATA[<p>hi paolo</p>
<p>great example but not working for me</p>
<p>this is my problem</p>
<p>if(layer.status==(int)mapscript.MS_ON)<br />
{<br />
    cblLayers.Items[i].Selected = true;&#8212;-&gt; in this line ERROR</p>
<p>visual web developer 2005 C#<br />
postgre 8.2 windows<br />
postgist</p>
<p>please help meee</p>
<p>cheer s from chile</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jlrojas</title>
		<link>http://www.paolocorti.net/2006/07/26/implementing-the-c-mapscript-code/comment-page-1/#comment-35904</link>
		<dc:creator>jlrojas</dc:creator>
		<pubDate>Fri, 14 Dec 2007 16:04:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.paolocorti.net/public/wordpress/index.php/2006/07/26/implementing-the-c-mapscript-code/#comment-35904</guid>
		<description>thanks Nikadib, i try it today....
Many thanks for your help....</description>
		<content:encoded><![CDATA[<p>thanks Nikadib, i try it today&#8230;.<br />
Many thanks for your help&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikadib</title>
		<link>http://www.paolocorti.net/2006/07/26/implementing-the-c-mapscript-code/comment-page-1/#comment-35817</link>
		<dc:creator>Nikadib</dc:creator>
		<pubDate>Fri, 14 Dec 2007 04:22:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.paolocorti.net/public/wordpress/index.php/2006/07/26/implementing-the-c-mapscript-code/#comment-35817</guid>
		<description>After settle this problem, I face with other problem which the map doesn't appear in the imageButton (ibMap).
When I trace the coding, the system read all layer. But the map doesn't appear. i don't know why.
Can anyone help me.</description>
		<content:encoded><![CDATA[<p>After settle this problem, I face with other problem which the map doesn&#8217;t appear in the imageButton (ibMap).<br />
When I trace the coding, the system read all layer. But the map doesn&#8217;t appear. i don&#8217;t know why.<br />
Can anyone help me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikadib</title>
		<link>http://www.paolocorti.net/2006/07/26/implementing-the-c-mapscript-code/comment-page-1/#comment-35816</link>
		<dc:creator>Nikadib</dc:creator>
		<pubDate>Fri, 14 Dec 2007 04:06:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.paolocorti.net/public/wordpress/index.php/2006/07/26/implementing-the-c-mapscript-code/#comment-35816</guid>
		<description>Jrojas,
I know what the problem. I've settle it now.
You should insert in coding this "using OSGeo.MapServer;":-

using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.OleDb; 
using System.IO; 
using OSGeo.MapServer;</description>
		<content:encoded><![CDATA[<p>Jrojas,<br />
I know what the problem. I&#8217;ve settle it now.<br />
You should insert in coding this &#8220;using OSGeo.MapServer;&#8221;:-</p>
<p>using System;<br />
using System.Collections;<br />
using System.ComponentModel;<br />
using System.Data;<br />
using System.Drawing;<br />
using System.Web;<br />
using System.Web.SessionState;<br />
using System.Web.UI;<br />
using System.Web.UI.WebControls;<br />
using System.Web.UI.HtmlControls;<br />
using System.Data.OleDb;<br />
using System.IO;<br />
using OSGeo.MapServer;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikadib</title>
		<link>http://www.paolocorti.net/2006/07/26/implementing-the-c-mapscript-code/comment-page-1/#comment-35675</link>
		<dc:creator>Nikadib</dc:creator>
		<pubDate>Thu, 13 Dec 2007 06:38:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.paolocorti.net/public/wordpress/index.php/2006/07/26/implementing-the-c-mapscript-code/#comment-35675</guid>
		<description>Hi, 
I also have a problem similar to jlrojas.
Could any expert help us?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I also have a problem similar to jlrojas.<br />
Could any expert help us?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jlrojas</title>
		<link>http://www.paolocorti.net/2006/07/26/implementing-the-c-mapscript-code/comment-page-1/#comment-35064</link>
		<dc:creator>jlrojas</dc:creator>
		<pubDate>Mon, 10 Dec 2007 18:56:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.paolocorti.net/public/wordpress/index.php/2006/07/26/implementing-the-c-mapscript-code/#comment-35064</guid>
		<description>hi paolo, many thanks for these great tuto/webpage, i follow the tuto but i have 4 errors in visual studio..

2 in default.aspx
the type or namespace name 'mapobj' could not be found line 32..

pointobj line 226

2 in mapstream.aspx.cs
mapobj line 21
rectobj line 22

all the same error could not be found

i appretiate your help..
manny thanks for all..</description>
		<content:encoded><![CDATA[<p>hi paolo, many thanks for these great tuto/webpage, i follow the tuto but i have 4 errors in visual studio..</p>
<p>2 in default.aspx<br />
the type or namespace name &#8216;mapobj&#8217; could not be found line 32..</p>
<p>pointobj line 226</p>
<p>2 in mapstream.aspx.cs<br />
mapobj line 21<br />
rectobj line 22</p>
<p>all the same error could not be found</p>
<p>i appretiate your help..<br />
manny thanks for all..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nuno SÃ©nica</title>
		<link>http://www.paolocorti.net/2006/07/26/implementing-the-c-mapscript-code/comment-page-1/#comment-35057</link>
		<dc:creator>Nuno SÃ©nica</dc:creator>
		<pubDate>Mon, 10 Dec 2007 17:50:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.paolocorti.net/public/wordpress/index.php/2006/07/26/implementing-the-c-mapscript-code/#comment-35057</guid>
		<description>Ok Paolo... ; )

By the way,

How do I query a PostGIS layer?? I tried layer.querybyattributes but it seems that works only with shapefiles!?

layerObj layer = map.getLayerByName(activeLayer);
layer.template = "dummy";            

layer.queryByAttributes(map, "country", "country = 'PORTUGAL'", mapscript.MS_MULTIPLE);

layer.getResults() returns always 0!

##########################

Another question, how do I "identify" a point on the map BUT for multiple layers? Instead of the single active layer only??

Regards,
Nuno.</description>
		<content:encoded><![CDATA[<p>Ok Paolo&#8230; ; )</p>
<p>By the way,</p>
<p>How do I query a PostGIS layer?? I tried layer.querybyattributes but it seems that works only with shapefiles!?</p>
<p>layerObj layer = map.getLayerByName(activeLayer);<br />
layer.template = &#8220;dummy&#8221;;            </p>
<p>layer.queryByAttributes(map, &#8220;country&#8221;, &#8220;country = &#8216;PORTUGAL&#8217;&#8221;, mapscript.MS_MULTIPLE);</p>
<p>layer.getResults() returns always 0!</p>
<p>##########################</p>
<p>Another question, how do I &#8220;identify&#8221; a point on the map BUT for multiple layers? Instead of the single active layer only??</p>
<p>Regards,<br />
Nuno.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paolo Corti</title>
		<link>http://www.paolocorti.net/2006/07/26/implementing-the-c-mapscript-code/comment-page-1/#comment-35046</link>
		<dc:creator>Paolo Corti</dc:creator>
		<pubDate>Mon, 10 Dec 2007 16:19:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.paolocorti.net/public/wordpress/index.php/2006/07/26/implementing-the-c-mapscript-code/#comment-35046</guid>
		<description>I am sure you can implement that, but you would need to server-side-code your tiles from an AJAX UI you should write from scratch (maybe modifing OpenLayers?).
Or you can still use WMF, and then everything is fine with OpenLayers, you need to write only bit of code.
I do not think that MapServer has another tool similiar to tile4ms, and that is for shapes, not for PostGis.
Let me know how you implemented this, i am curious ;-)</description>
		<content:encoded><![CDATA[<p>I am sure you can implement that, but you would need to server-side-code your tiles from an AJAX UI you should write from scratch (maybe modifing OpenLayers?).<br />
Or you can still use WMF, and then everything is fine with OpenLayers, you need to write only bit of code.<br />
I do not think that MapServer has another tool similiar to tile4ms, and that is for shapes, not for PostGis.<br />
Let me know how you implemented this, i am curious <img src='http://www.paolocorti.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
