<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>TargetGIS</title>
	<atom:link href="http://targetgis.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://targetgis.wordpress.com</link>
	<description>GIS Open Source junkie, Web map maker. Follow GIS trends, folks share greats ideas and blog some tech tips on Open source project</description>
	<lastBuildDate>Thu, 06 Jan 2011 04:20:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='targetgis.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/0d747a994517b8223c990498c8290070?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>TargetGIS</title>
		<link>http://targetgis.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://targetgis.wordpress.com/osd.xml" title="TargetGIS" />
	<atom:link rel='hub' href='http://targetgis.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Edit, Share and Publish GeoData with GISCloud (Part 2/2)</title>
		<link>http://targetgis.wordpress.com/2010/03/15/edit-share-and-publish-geodata-with-giscloud-part-22/</link>
		<comments>http://targetgis.wordpress.com/2010/03/15/edit-share-and-publish-geodata-with-giscloud-part-22/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 14:00:39 +0000</pubDate>
		<dc:creator>Simon Mercier</dc:creator>
				<category><![CDATA[GISCloud]]></category>

		<guid isPermaLink="false">http://targetgis.org/?p=288</guid>
		<description><![CDATA[The usability features related to the loading process into GISCloud is probably the crucial element of the tool. To import data into GISCloud, we can choose between shapefile, mapinfo or KML. But, what can we do after&#8230;. Of course, you can make a map, but you can have access to editing and analysis functions. To [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=targetgis.wordpress.com&#038;blog=11219395&#038;post=288&#038;subd=targetgis&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The usability features related to the loading process into GISCloud is probably the crucial element of the tool. To import data into GISCloud, we can choose between shapefile, mapinfo or KML.  But, what can we do after&#8230;.</p>
<p><a href="http://targetgis.files.wordpress.com/2010/02/shapefiles.jpg"><img src="http://targetgis.files.wordpress.com/2010/02/shapefiles.jpg?w=300&#038;h=170" alt="" title="shapefiles uplload in GISCloud" width="300" height="170" class="aligncenter size-medium wp-image-308" /></a></p>
<p>Of course, you can make a map, but you can have access to editing and analysis functions. To do this, you must transfer the data you already loaded into your GISCloud account in <a href="http://postgis.refractions.net/" target="_self"> PostGIS </a> is also available in your GISCloud servers. </p>
<p><a href="http://targetgis.files.wordpress.com/2010/02/edit.jpg"><img src="http://targetgis.files.wordpress.com/2010/02/edit.jpg?w=300&#038;h=182" alt="" title="Edit" width="300" height="182" class="aligncenter size-medium wp-image-313" /></a></p>
<p>The map is not <a href="http://openlayers.org"> OpenLayers </a>interface but rather a flash control. So for most browsers, plugin is already integrated. The tiling update in the case of WMS layers is irregular and sometimes lack of refreshing to some level, but map image quality is good.</p>
<p><a href="http://targetgis.files.wordpress.com/2010/02/gui.jpg"><img src="http://targetgis.files.wordpress.com/2010/02/gui.jpg?w=300&#038;h=183" alt="" title="GUI" width="300" height="183" class="aligncenter size-medium wp-image-310" /></a></p>
<p>Finally, one of my best option of this tool is sharing and Web publishing. The map produced into GISCloud is automatically available in WMS. The result of the XML GetCapabilities <a href="http://www.giscloud.com/wms/ba47979ecaef94062c2f37d04764f1d7?SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetCapabilities"> </a> lack of finish and would need some adds to make it really convenient to use but the service is consistent with <a href="http://www.opengeospatial.org/standards/wms"> version 1.1.1 of the OGC </a>. I enabled the option of mailing the card and is available for viewing without restriction. I test it with <a href="http://www.thecarbonproject.com/gaia.php" target="_blank"> Gaia </a> and QGIS (<cite> www. &#8221; strong&gt; qgis </strong>. org </cite>)</p>
<p><a href="http://targetgis.files.wordpress.com/2010/02/gaia_wms2.jpg"><img src="http://targetgis.files.wordpress.com/2010/02/gaia_wms2.jpg?w=300&#038;h=217" alt="" title="gaia_wms2" width="300" height="217" class="aligncenter size-medium wp-image-315" /></a></p>
<p><a href="http://www.giscloud.com/wms/ba47979ecaef94062c2f37d04764f1d7?SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetCapabilities" target="_blank">http://www.giscloud.com/wms/ba47979ecaef94062c2f37d04764f1d7?SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetCapabilities</a></p>
<p>Another interesting point, we also have access to &#8220;Embed JS code&#8221; that can quickly be added to a page (which does not work in this wordpress?) Or a <a href="http://www.giscloud.com / modules / map / preview.php? map = 1379 &amp; width = 450 &amp; height = 400 &amp; Bound =- 182.110034229266% 2C% 20-5.82734540796228% 2C% 2023.0450481481435% 2C% 2098.4741880696284"> popup preview </a>:</p>
<p><code><br />
&lt;script type='text/javascript' src='http://www.giscloud.com/api.js?v=1.0' &gt;&lt;/script&gt;<br />
 &lt;div id="fn_embed_map" style="border:1px solid #C5C5C5;width:450px; height:400px;"&gt;<br />
&lt;/div&gt;<br />
 &lt;script type="text/javascript" &gt;<br />
 &lt;!--<br />
 new FnEmbedMAP({map:1379, container:"fn_embed_map", slider:true, onload:function()<br />
 {<br />
 this.viewer.setViewBound(-180, -89.1086723319328, 179.99995, 93.9165123319328);<br />
 }});<br />
 --&gt;<br />
 &lt;/script&gt;<br />
//<br />
</code></p>
<p>I asked few questions to <a href="http://www.linkedin.com/in/dinoravnic"> Dino Ravnica </a> (Owner, CEO) for the business subscription aspet, data security and price of the subscription.</p>
<p>1)How much space that I have to upload data on the cloud?<br />
<em>For now we don&#8217;t have limitations on free beta accounts.</em></p>
<p>2)When I upload data, It is on your server?  Do you kown where those data are?<br />
<em>Yes, uploaded data is on our server. Each user has separate space that is private and available only for their account.</em></p>
<p>3)Do you protect those data?<br />
<em>We plan to offer a way to store the data on encrypted disk partitions. This means when you log in you will have to enter additional password to decrypt your disk partition. Only then your data will become available. When you log out you partition encrypt it self back.</em></p>
<p>4)If I need more space to upload data, How it works?<br />
<em>We are currently defining commercial services.</em></p>
<p>5)How it cost?<br />
<em>When ready price list will be publicly available.</em></p>
<br />  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=targetgis.wordpress.com&#038;blog=11219395&#038;post=288&#038;subd=targetgis&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://targetgis.wordpress.com/2010/03/15/edit-share-and-publish-geodata-with-giscloud-part-22/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/734fd6152b070715cd130ae85bb36a4c?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">simw2p</media:title>
		</media:content>

		<media:content url="http://targetgis.files.wordpress.com/2010/02/shapefiles.jpg?w=300" medium="image">
			<media:title type="html">shapefiles uplload in GISCloud</media:title>
		</media:content>

		<media:content url="http://targetgis.files.wordpress.com/2010/02/edit.jpg?w=300" medium="image">
			<media:title type="html">Edit</media:title>
		</media:content>

		<media:content url="http://targetgis.files.wordpress.com/2010/02/gui.jpg?w=300" medium="image">
			<media:title type="html">GUI</media:title>
		</media:content>

		<media:content url="http://targetgis.files.wordpress.com/2010/02/gaia_wms2.jpg?w=300" medium="image">
			<media:title type="html">gaia_wms2</media:title>
		</media:content>
	</item>
		<item>
		<title>A first test with GISCloud &#8230; Wow! (Part 1/2)</title>
		<link>http://targetgis.wordpress.com/2010/02/18/a-first-test-with-giscloud-wow-part-12/</link>
		<comments>http://targetgis.wordpress.com/2010/02/18/a-first-test-with-giscloud-wow-part-12/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 01:01:24 +0000</pubDate>
		<dc:creator>Simon Mercier</dc:creator>
				<category><![CDATA[GISCloud]]></category>

		<guid isPermaLink="false">http://targetgis.org/?p=233</guid>
		<description><![CDATA[A new startup from Croatie has just arrived online and offer us a very nice new option for Gis web apps: GISCloud. According to Dino Ravnić (Owner, CEO) Omnisdata main operation business model is software-as-a-Service ( SaaS ) in form of free or commercial services . By being the first of its kind(Gis) in the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=targetgis.wordpress.com&#038;blog=11219395&#038;post=233&#038;subd=targetgis&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>A new startup from Croatie has just arrived online and offer us a very nice new option for Gis web apps: <a href="http://www.giscloud.com/">GISCloud</a>. According to <a href="http://www.linkedin.com/in/dinoravnic">Dino Ravnić</a> (Owner, CEO) <a href="http://www.omnisdata.com">Omnisdata </a>main operation business model is <em>software-as-a-Service (<a href="http://en.wikipedia.org/wiki/Software_as_a_service"> SaaS </a>) in form of free or commercial services </em>. By being the first of its kind(Gis) in the <a href="http://en.wikipedia.org/wiki/Cloud_computing" target="_blank"> Cloud </a> supply <a> <a href="http://www.omnisdata.com">Omnisdata </a>be well positioned to achieve success, because they pushing the limits of <em>&#8220;Gis web desktop&#8221;</em>. </p>
<p>With <a href="http://www.giscloud.com/">GISCloud</a>, you have a free access to standard mapping features. You have also for free, a new tool to build and publish a map of your GeoData in a <a href="http://www.opengeospatial.org/standards/wms">OGC Web map services</a>.  Of cours, if you wanted more, you have a pricing option for analysis and editing geodata according of your storage and network bandwidth needs.  Mr. Ravnić assured me that <em>&#8220;price list will be available and publicly when ready&#8221;.</em></p>
<p>The website is very intuitive and easy to use. In a seconds, you can open a free account, upload data into the Cloud and build a map without effort. The interface is simple to use, efficient and the display process is very fast(tiling process). We have access to a <a href="http://www.giscloud.com/about/docs/#Trakasalatima" target="_blank"> toolbar </a> rather simplistic but effective.</p>
<p><a href="http://targetgis.files.wordpress.com/2010/02/apps.jpg"><img class="aligncenter size-medium wp-image-236" title="apps" src="http://targetgis.files.wordpress.com/2010/02/apps.jpg?w=300&#038;h=217" alt="" width="300" height="217" /></a></p>
<p>After creating a <a href="http://www.giscloud.com/about/docs/#Kreiranjeradnepovrsine" target="_blank"> Workspace </a>, you can create a map in which we will add layers.</p>
<p><a href="http://targetgis.files.wordpress.com/2010/02/map.jpg"><img class="aligncenter size-medium wp-image-234" title="map" src="http://targetgis.files.wordpress.com/2010/02/map.jpg?w=353&#038;h=290" alt="" width="353" height="290" /></a></p>
<p>To do my first little test, I uploaded <a href="http://www.giscloud.com/map/1379/giscloud-test/natearth" target="_blank"> </a> a shapefile coverage <em> Ocean </em> from <a href="http://www.naturalearthdata.com/" target="_blank"> Natural Earth </a>. But Surprise!  The configuration options for the layers are very well. You can easily edit <a href="http://www.giscloud.com/about/docs/#uredivanjesloja" target="_blank"> apperance </a> layer and even have access to <a href="//www.giscloud.com/about/docs/ Uredivanjeslojapremavrijednostima" target="_blank"> advanced display options</a>. There was even an option to refresh a dataset in <a href="http://www.giscloud.com/about/docs/#Sinkronizacijapodataka" target="_blank"> regular frequency</a>.</p>
<p>This free tool is really simple and interesting because it allows a Geomatics specialist to provide fast and cheap new option for our users.</p>
<p>The second part shows the sharing and the use of Web Map Service, and the Data privacy issue and security needs with your GISCloud account </p>
<br />  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=targetgis.wordpress.com&#038;blog=11219395&#038;post=233&#038;subd=targetgis&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://targetgis.wordpress.com/2010/02/18/a-first-test-with-giscloud-wow-part-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/734fd6152b070715cd130ae85bb36a4c?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">simw2p</media:title>
		</media:content>

		<media:content url="http://targetgis.files.wordpress.com/2010/02/apps.jpg?w=300" medium="image">
			<media:title type="html">apps</media:title>
		</media:content>

		<media:content url="http://targetgis.files.wordpress.com/2010/02/map.jpg?w=300" medium="image">
			<media:title type="html">map</media:title>
		</media:content>
	</item>
		<item>
		<title>A not well documented Mapserver feature for Hillshade</title>
		<link>http://targetgis.wordpress.com/2010/02/15/a-not-well-documented-mapserver-feature-for-hillshade/</link>
		<comments>http://targetgis.wordpress.com/2010/02/15/a-not-well-documented-mapserver-feature-for-hillshade/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 03:12:59 +0000</pubDate>
		<dc:creator>Simon Mercier</dc:creator>
				<category><![CDATA[MapServer]]></category>
		<category><![CDATA[COLORRANGE]]></category>
		<category><![CDATA[DATARANGE]]></category>
		<category><![CDATA[hillshade]]></category>

		<guid isPermaLink="false">http://targetgis.org/?p=140</guid>
		<description><![CDATA[If you have a hillshade GRID(or exported tiff) and DEM you can build a nice color hillshape map with Mapserver&#8230;&#160; It&#8217;s not really simple and well documented, but it&#8217;s possible. I think this trick was add in Mapserver in &#8216;experimental&#8217; mode in the trunk and gets released, but never realy discuss in the mailling list [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=targetgis.wordpress.com&#038;blog=11219395&#038;post=140&#038;subd=targetgis&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>If you have a hillshade GRID(or exported tiff) and DEM you can build a nice color hillshape map with <a href="mapserver.org">Mapserver</a>&#8230;&nbsp; It&#8217;s not really simple and well documented, but it&#8217;s possible.  I think this trick was add in Mapserver in &#8216;experimental&#8217; mode in the trunk and gets released, but never realy discuss in the mailling list Mapserver-dev. </p>
<p><a href="http://targetgis.files.wordpress.com/2010/02/mneomb.png"><img src="http://targetgis.files.wordpress.com/2010/02/mneomb.png?w=300&#038;h=264" alt="" title="Map with Hillshade color rampe background" width="300" height="264" class="aligncenter size-medium wp-image-207" /></a></p>
<p>To build this kind of service, we must have a DEM and Hillshade.   It&#8217;s not necessary to have a GRID format for this trick. A simple black and white tif format is fine. </p>
<p><a href="http://targetgis.files.wordpress.com/2010/02/ombre.jpg"><img src="http://targetgis.files.wordpress.com/2010/02/ombre.jpg?w=330&#038;h=165" alt="" title="hillshade" height="165" width="330"></a></p>
<p><a href="http://targetgis.files.wordpress.com/2010/02/dem.jpg"><img src="http://targetgis.files.wordpress.com/2010/02/dem.jpg?w=195&#038;h=165" alt="" title="dem" height="165" width="195"></a></p>
<p>First you must know the pixel range to process in your DEM.  You need it to let GDAL reader a <a href="http://mapserver.org/input/raster.html">pre-scale</a> from incoming raster data to get the pixel range to process.  You can easely use the <a href="http://www.gdal.org/gdalinfo.html">gdalinfo utilities</a>.  </p>
<p><code><br />
...<br />
Upper Left  (-1051654.551, 2174097.741) ( 88d52'54.70"W, 62d14'24.12"N)<br />
Lower Left  (-1051654.551, -201102.259) ( 80d59'1.05"W, 41d23'0.63"N)<br />
Upper Right ( 1359945.449, 2174097.741) ( 42d36'0.34"W, 61d21'52.09"N)<br />
Lower Right ( 1359945.449, -201102.259) ( 52d27'53.73"W, 40d50'27.53"N)<br />
Center      (  154145.449,  986497.741) ( 66d11'34.47"W, 52d52'40.66"N)<br />
Band 1 Block=256x256 Type=Int16, ColorInterp=Gray<br />
  Min=-10.000 Max=706.000<br />
  Minimum=-32768.000, Maximum=1890.000, Mean=-185.108, StdDev=3252.745<br />
...<br />
</code></p>
<p>In the example I have in Band 1, a min elevation of -10 to a max of 706.  This resulte in the mapfile with PROCESSING &#8220;SCALE=-10,706&#8243;.  Then, you have to process the DEM dynamically with a COLORRANGE in TRANSPARENCY mode and overlay it on a hillshade.  To get the DEM and the process hillshade in a single layer in your map, simply GROUP them in your mapfile.</p>
<p>Example in the mapfile GROUP on &#8220;Ombrage_bleu_250K&#8221;&#8230;</p>
<pre><span style="color:rgb(35,142,35);">
...
LAYER
    NAME "ombre250k_blue"
    GROUP "<em><b>Ombrage_blue_250K</b></em>"
    DATA "mne250k/ombre250k.tif"
    TYPE RASTER
    MAXSCALE 4000000
    MINSCALE 1
    METADATA
        "wms_group_title"       "Ombrage blue 250K"
        "wms_name"              "ombre250k_blue"
        "wms_title"             "ombre250k blue"
        INCLUDE                 "../include/ec/ec_meta_layer.map"
    END
    PROJECTION
         "init=epsg:32198"
    END
END
LAYER
    NAME "mne250k_blue"
    GROUP "<em><strong>Ombrage_blue_250K</strong></em>"
    DATA "mne250k/mne250k.tif"
    TRANSPARENCY 30
    TYPE RASTER
    PROCESSING "SCALE=-1,706"
    METADATA
        "wms_group_title"       "Ombrage bblue 250K"
        "wms_name"              "mne250k_blue"
        "wms_title"             "mne250k blue"
        INCLUDE                 "../include/ec/ec_meta_layer.map"
    END
    PROJECTION
        "init=epsg:32198"
    END
    CLASS
        STYLE
            COLORRANGE 255 255 255   0 0 255
            DATARANGE -1 706
        END
    END
END
...
</span></pre>
<p>End the getMap query, use the group layer name &#8220;Ombrage_bleu_250K&#8221;&#8230;</p>
<p><code><a href="http://your.server.com/cgi-bin/mapserv?map=demshade&#038;REQUEST=GetMap&#038;SERVICE=WMS&#038;VERSION=1.1.1&#038;LAYERS=" rel="nofollow">http://your.server.com/cgi-bin/mapserv?map=demshade&#038;REQUEST=GetMap&#038;SERVICE=WMS&#038;VERSION=1.1.1&#038;LAYERS=</a><b><em>Ombrage_bleu_250K</em></b>&amp;STYLES=&amp;FORMAT=image/png&amp;BGCOLOR=0xFFFFFF&amp;TRANSPARENT=TRUE&amp;SRS=EPSG:32198&amp;BBOX=87557.4046920096,498799.484254657,182346.544021857,583840.349445035&amp;WIDTH=739&amp;HEIGHT=663<br />
</code></p>
<p><a href="http://targetgis.files.wordpress.com/2010/02/ombre_bleu.jpg"><img src="http://targetgis.files.wordpress.com/2010/02/ombre_bleu.jpg?w=300&#038;h=270" alt="" title="ombre_bleu" class="aligncenter size-medium wp-image-169" height="270" width="300"></a></p>
<p>In next example,  I have tree layer that I can call with the GROUP tag &#8220;HILLSHAPE_GREEN_BLUE&#8221;.  First I add the hillshape in background.   Then I overlay two MNE rasters layers that show elevation from -63 to 1280.  So I coloring for the first -63 to 500 metre elevation with a green to blue colo rampe, and from 300 to 1280 with a blue to green color rampe.  Not that all thos layer are add in the mapfile as Arc/INFO GRID TILEINDEX.</p>
<pre><span style="color:rgb(35,142,35);">
LAYER
    NAME  "Ombre_vert_bleu"
    GROUP  "HILLSHAPE_GREEN_BLUE"
    TYPE  RASTER
    TILEINDEX  "mneomb20k/omb"
    TILEITEM  "location"
    MAXSCALE  200000
    MINSCALE  1
    METADATA
        "wms_group_title"    "Ombrage  vert  bleu  20K"
        "wms_name"           "Ombre_vert_bleu"
        INCLUDE              "../include/ec/ec_meta_layer.map"
        "wms_title"          "Ombre"
    END
    PROJECTION
        "init=epsg:32198"
    END
END
  #-------------------------
LAYER
    NAME  "MNE_comp_green_blue"
    GROUP  "HILLSHAPE_GREEN_BLUE"
    TILEINDEX  "mneomb20k/mne"
    TILEITEM  "location"
    TRANSPARENCY  40
    TYPE  RASTER
    PROCESSING  "SCALE=-63,500"
    MAXSCALE  200000
    MINSCALE  1
    METADATA
        "wms_name"         "MNE_comp_green_blue"
        INCLUDE            "../include/ec/ec_meta_layer.map"
        "wms_title"        "MNE  comp  green"
    END
    PROJECTION
            "init=epsg:32198"
    END
    CLASS
        STYLE
<strong>            COLORRANGE  34  139  34  255  255  255
            DATARANGE  -63  500</strong>
        END
    END
END
#--
LAYER
    NAME  "MNE_comp_blue_green"
    GROUP  "HILLSHAPE_GREEN_BLUE"
    TILEINDEX  "mneomb20k/mne"
    TILEITEM  "location"
    TRANSPARENCY  40
    TYPE  RASTER
    PROCESSING  "SCALE=300,1280"
    MAXSCALE  200000
    MINSCALE  1
    METADATA
        "wms_name"      "MNE_comp_blue_green"
        INCLUDE         "../include/ec/ec_meta_layer.map"
        "wms_title"     "MNE  comp  bleu"
    END
    PROJECTION
        "init=epsg:32198"
    END
    CLASS
        STYLE
<strong>            COLORRANGE  255  255  255  0  0  205
            DATARANGE  300  1280</strong>
        END
    END
END

</span></pre>
<p>The result of this combination show here</p>
<p><a href="http://targetgis.files.wordpress.com/2010/02/ombre_bleu-vert.jpg"><img src="http://targetgis.files.wordpress.com/2010/02/ombre_bleu-vert.jpg?w=300&#038;h=255" alt="" title="ombre_bleu-vert" class="aligncenter size-medium wp-image-171" height="255" width="300">Hillshade green-blue</a></p>
<br />  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=targetgis.wordpress.com&#038;blog=11219395&#038;post=140&#038;subd=targetgis&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://targetgis.wordpress.com/2010/02/15/a-not-well-documented-mapserver-feature-for-hillshade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/734fd6152b070715cd130ae85bb36a4c?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">simw2p</media:title>
		</media:content>

		<media:content url="http://targetgis.files.wordpress.com/2010/02/mneomb.png?w=300" medium="image">
			<media:title type="html">Map with Hillshade color rampe background</media:title>
		</media:content>

		<media:content url="http://targetgis.files.wordpress.com/2010/02/ombre.jpg" medium="image">
			<media:title type="html">hillshade</media:title>
		</media:content>

		<media:content url="http://targetgis.files.wordpress.com/2010/02/dem.jpg" medium="image">
			<media:title type="html">dem</media:title>
		</media:content>

		<media:content url="http://targetgis.files.wordpress.com/2010/02/ombre_bleu.jpg?w=300" medium="image">
			<media:title type="html">ombre_bleu</media:title>
		</media:content>

		<media:content url="http://targetgis.files.wordpress.com/2010/02/ombre_bleu-vert.jpg?w=300" medium="image">
			<media:title type="html">ombre_bleu-vert</media:title>
		</media:content>
	</item>
		<item>
		<title>Tutorial Guide</title>
		<link>http://targetgis.wordpress.com/2010/02/04/tutorial-guide/</link>
		<comments>http://targetgis.wordpress.com/2010/02/04/tutorial-guide/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 13:43:46 +0000</pubDate>
		<dc:creator>Simon Mercier</dc:creator>
				<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://targetgis.org/?p=179</guid>
		<description><![CDATA[Tutorial training guide(2008) for newbie. Thank&#8217;s to Jeff McKenna http://www.scribd.com/doc/22648773/Mapserver-Users-Manual<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=targetgis.wordpress.com&#038;blog=11219395&#038;post=179&#038;subd=targetgis&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Tutorial training guide(2008) for newbie. Thank&#8217;s to Jeff McKenna</p>
<p><a href="http://www.scribd.com/doc/22648773/Mapserver-Users-Manual">http://www.scribd.com/doc/22648773/Mapserver-Users-Manual</a></p>
<br />  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=targetgis.wordpress.com&#038;blog=11219395&#038;post=179&#038;subd=targetgis&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://targetgis.wordpress.com/2010/02/04/tutorial-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/734fd6152b070715cd130ae85bb36a4c?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">simw2p</media:title>
		</media:content>
	</item>
		<item>
		<title>New Spatialite format with Mapserver and GDAL/OGR 1.7.0</title>
		<link>http://targetgis.wordpress.com/2010/02/01/new-spatialite-format-with-mapserver-and-gdalogr-1-7-0/</link>
		<comments>http://targetgis.wordpress.com/2010/02/01/new-spatialite-format-with-mapserver-and-gdalogr-1-7-0/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 12:10:30 +0000</pubDate>
		<dc:creator>Simon Mercier</dc:creator>
				<category><![CDATA[GDAL]]></category>
		<category><![CDATA[MapServer]]></category>
		<category><![CDATA[Spatialite]]></category>
		<category><![CDATA[GDAL/OGR]]></category>

		<guid isPermaLink="false">http://targetgis.org/?p=122</guid>
		<description><![CDATA[Sometime we find something such simple as stupide &#8230; I think that Spatialite is one of that.  If you look for a GIS storage format AND tabular data, very simple, open, easy to use and manage with Mapserver, python or php, take a look to this solution. Note that with a single database file you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=targetgis.wordpress.com&#038;blog=11219395&#038;post=122&#038;subd=targetgis&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Sometime we find something such simple as stupide &#8230; I think that <a href="http://www.gaia-gis.it/spatialite/" target="_blank">Spatialite</a> is one of that.  If you look for a GIS storage format AND tabular data, very simple, open, easy to use and manage with Mapserver, python or php, take a look to this solution.  Note that with a single database file you can build, query and manage your data like MySql or Postgresql.</p>
<p>For my test, I use the open data <a href="http://www.naturalearthdata.com/" target="_blank">Natural Earth</a>, and it work at my first try ..! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Rock On!! My <a href="http://www.4shared.com/file/212788057/aaf4ab51/NaturalEarth.html">NaturalEarth.sqlite file</a> can be dowload here.  (Natural Earth. Free vector and raster map data @ naturalearthdata.com). I load it with the Spatiallite-gui tools and than visualize them with the Spatiallite-gis&#8230; It take&#8217;s me 15 minutes&#8230; Including the download and install steps&#8230;</p>
<p>To make my first WMS Spatialite data test, I build a <a href="http://mapserver.org/mapfile/" target="_blank">mapfile</a> for <a href="http://mapserver.org/" target="_blank">Mapserver </a> with  this cool free vector dataset of Natural Earth.  I just have to replace the shapefiles connection string with a OGR connection type and specify the table name:</p>
<p><span style="font-family:Courier New;"><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CONNECTIONTYPE&nbsp;OGR<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CONNECTION&nbsp;&#8221;path_to_spatialite_file&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DATA&nbsp;&#8221;50m-geography-marine-polys&#8221;<br />
</span></p>
<p>Also, note that you HAVE to use the latest GDAL/OGR(version 1.7.0).   If you use <a href="http://www.maptools.org/ms4w/index.phtml?page=home.html">MS4W</a>, you can <a href="http://www.maptools.org/ms4w/index.phtml?page=downloads.html">download the beta10 </a>or later.</p>
<p>My first impression is that is not as fast as shapefile format.  I gona test for larger dataset later&#8230;  But, according to <a href="http://www.gdal.org/ogr/drv_sqlite.html">OGR specification web page</a>, this driver still don&#8217;t take advantage of spatial index?.  So it&#8217;s not a negative tips of this format&#8230;</p>
<p>My mapfile test is here:</p>
<p><span style="font-family:Courier New;"><br />
MAP<br />
&nbsp;&nbsp;&nbsp;&nbsp;NAME&nbsp;&#8221;spatialite&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;EXTENT&nbsp;-180&nbsp;-90&nbsp;180&nbsp;90&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;SIZE&nbsp;700&nbsp;500<br />
&nbsp;&nbsp;&nbsp;&nbsp;IMAGETYPE&nbsp;PNG<br />
&nbsp;&nbsp;&nbsp;&nbsp;IMAGECOLOR&nbsp;0&nbsp;0&nbsp;0&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;UNITS&nbsp;METERS<br />
&nbsp;&nbsp;&nbsp;&nbsp;SYMBOLSET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;/ms4w/msp/symbols/commun/symbols.map&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;FONTSET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;/ms4w/msp/fonts/commun/fonts.txt&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;CONFIG&nbsp;MS_ERRORFILE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;/ms4w/tmp/mapserv.log&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;WEB<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QUERYFORMAT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;text/xml&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;BROWSEFORMAT&nbsp;&nbsp;&nbsp;&nbsp;&#8221;text/xml&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IMAGEPATH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;/srv/www/msp/services/tmp/&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IMAGEURL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;/ms_tmp/&#8221;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;METADATA<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;wms_title&#8221;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;spatialite&nbsp;test&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;wms_name&#8221;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;spatialite&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;wms_abstract&#8221;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;wms_description&#8221;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;wms_keywordlist&#8221;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;Spatialite&nbsp;test&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;wms_onlineresource&#8221;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;<a href="http://localhost/cgi-bin/mapserv.exe?map=C:/Travail/spatialite/spatialite.map&#038;#8221" rel="nofollow">http://localhost/cgi-bin/mapserv.exe?map=C:/Travail/spatialite/spatialite.map&#038;#8221</a>;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END<br />
&nbsp;&nbsp;&nbsp;&nbsp;END<br />
&nbsp;&nbsp;&nbsp;&nbsp;PROJECTION<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;init=epsg:4326&#8243;<br />
&nbsp;&nbsp;&nbsp;&nbsp;END<br />
&nbsp;&nbsp;&nbsp;&nbsp;LAYER<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NAME&nbsp;&#8221;50m-admin-1-states-provinces-shp&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DATA&nbsp;&#8221;C:/Travail/spatialite/NaturalEarth/50m-admin-1-states-provinces-shp.shp&#8221;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TYPE&nbsp;polygon<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PROJECTION<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;init=epsg:4326&#8243;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;METADATA<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;wms_name&#8221;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;50m-admin-1-states-provinces-shp&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;wms_title&#8221;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;states-provinces&nbsp;shapefiles&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;wms_keywordlist&#8221;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;wms_server_version&#8221;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;1.1.1&#8243;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CLASS<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NAME&nbsp;&#8221;states-provinces&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;STYLE<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;COLOR&nbsp;255&nbsp;90&nbsp;90<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END<br />
&nbsp;&nbsp;&nbsp;&nbsp;END&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;LAYER<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NAME&nbsp;&#8221;50m-admin-0-countries&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CONNECTIONTYPE&nbsp;OGR<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CONNECTION&nbsp;&#8221;C:/Travail/spatialite/NaturalEarth/NaturalEarth.sqlite&#8221;&nbsp;&nbsp;#&nbsp;full&nbsp;path&nbsp;to&nbsp;SQLite&nbsp;db&nbsp;file<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DATA&nbsp;&#8221;50m-admin-0-countries&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TYPE&nbsp;polygon<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PROJECTION<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;init=epsg:4326&#8243;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;METADATA<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;wms_name&#8221;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;50m-admin-0-countries&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;wms_title&#8221;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;50m-admin-0-countries&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;wms_keywordlist&#8221;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;wms_server_version&#8221;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;1.1.1&#8243;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;wms_extent&#8221;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;-180&nbsp;-90&nbsp;180&nbsp;90&#8243;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CLASS<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NAME&nbsp;&#8221;states-provinces&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;STYLE<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;COLOR&nbsp;255&nbsp;190&nbsp;190<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END<br />
&nbsp;&nbsp;&nbsp;&nbsp;END&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;LAYER<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NAME&nbsp;&#8221;50m-geography-marine-polys&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CONNECTIONTYPE&nbsp;OGR<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CONNECTION&nbsp;&#8221;C:/Travail/spatialite/NaturalEarth/NaturalEarth.sqlite&#8221;&nbsp;&nbsp;#&nbsp;full&nbsp;path&nbsp;to&nbsp;SQLite&nbsp;db&nbsp;file<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DATA&nbsp;&#8221;50m-geography-marine-polys&#8221;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TYPE&nbsp;polygon<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PROJECTION<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;init=epsg:4326&#8243;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;METADATA<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;wms_name&#8221;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;50m-geography-marine-polys&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;wms_title&#8221;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;50m-geography-marine-polys&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;wms_keywordlist&#8221;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;wms_server_version&#8221;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;1.1.1&#8243;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;wms_extent&#8221;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8221;-180&nbsp;-90&nbsp;180&nbsp;90&#8243;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CLASS<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NAME&nbsp;&#8221;states-provinces&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;STYLE<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;COLOR&nbsp;24&nbsp;116&nbsp;205<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END<br />
&nbsp;&nbsp;&nbsp;&nbsp;END&nbsp;<br />
END&nbsp;<br />
</span></p>
<br />  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=targetgis.wordpress.com&#038;blog=11219395&#038;post=122&#038;subd=targetgis&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://targetgis.wordpress.com/2010/02/01/new-spatialite-format-with-mapserver-and-gdalogr-1-7-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/734fd6152b070715cd130ae85bb36a4c?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">simw2p</media:title>
		</media:content>
	</item>
		<item>
		<title>A new XML Mapfile Format in Mapserver 5.6</title>
		<link>http://targetgis.wordpress.com/2010/01/19/a-new-xml-mapfile-format-in-mapserver-5-6/</link>
		<comments>http://targetgis.wordpress.com/2010/01/19/a-new-xml-mapfile-format-in-mapserver-5-6/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 02:24:43 +0000</pubDate>
		<dc:creator>Simon Mercier</dc:creator>
				<category><![CDATA[MapServer]]></category>
		<category><![CDATA[mapfile]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://targetgis.org/?p=123</guid>
		<description><![CDATA[Build a mapfile for Mapserver from plain text is not an easy job.  We can use a Syntax coloring Editor like SciTE, PsPad or UltraEdit, but we all hope have a nice and easy  mapfile editor for build our web map service.  Sice version 5.6, Mapserver has a XML schema has been defined to encode [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=targetgis.wordpress.com&#038;blog=11219395&#038;post=123&#038;subd=targetgis&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Build a mapfile for Mapserver from plain text is not an easy job.  We can use a Syntax coloring Editor like <a href="http://www.scintilla.org" target="_blank">SciTE</a>, <a href="http://www.pspad.com/" target="_blank">PsPad </a>or <a href="http://www.ultraedit.com/" target="_blank">UltraEdit</a>, but we all hope have a nice and easy  mapfile editor for build our web map service.  Sice version 5.6, Mapserver has a XML schema has been defined to encode mapfiles in XML format. We can get some input from <a href="http://trac.osgeo.org/mapserver/wiki/XMLMapfiles" target="_blank">Mapserver Wiki</a> for example, how to implement it and how to convert existing mapfile.</p>
<map name="GMAP-DEMO"><span style="font-family:Courier New;font-size:8pt;">&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;Map name=&#8221;GMAP-DEMO&#8221; version=&#8221;5.6.0&#8243; status=&#8221;ON&#8221; xmlns=&#8221;<a href="http://www.mapserver.org/mapserver&#038;#8221" rel="nofollow">http://www.mapserver.org/mapserver&#038;#8221</a>; xmlns:xsi=&#8221;<a href="http://www.w3.org/2001/XMLSchema-instance&#038;#8221" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance&#038;#8221</a>; xsi:schemaLocation=&#8221;<a href="http://www.mapserver.org/mapserver&#8221;&#038;gt" rel="nofollow">http://www.mapserver.org/mapserver&#8221;&#038;gt</a>;<br />
&lt;extent&gt;-2200000 -712631 3072800 3840000&lt;/extent&gt;<br />
&lt;fontSet&gt;../etc/fonts.txt&lt;/fontSet&gt;<br />
&lt;imageColor red=&#8221;255&#8243; green=&#8221;255&#8243; blue=&#8221;255&#8243;/&gt;<br />
&lt;Layer name=&#8221;bathymetry&#8221; type=&#8221;RASTER&#8221; status=&#8221;ON&#8221;&gt;<br />
&lt;data&gt;bath_mapserver.tif&lt;/data&gt;<br />
&lt;Metadata&gt;<br />
&lt;item name=&#8221;DESCRIPTION&#8221;&gt;Elevation/Bathymetry&lt;/item&gt;<br />
&lt;/Metadata&gt;<br />
&lt;/Layer&gt;<br />
&lt;Layer name=&#8221;popplace&#8221; type=&#8221;POINT&#8221; status=&#8221;ON&#8221;&gt;<br />
&lt;Class name=&#8221;Cities&#8221;&gt;<br />
&lt;color red=&#8221;0&#8243; green=&#8221;0&#8243; blue=&#8221;0&#8243;/&gt;&lt;<br />
expression&gt;1&lt;/expression&gt;<br />
&lt;Label type=&#8221;TRUETYPE&#8221;&gt;<br />
&lt;align&gt;LEFT&lt;/align&gt;<br />
&lt;color red=&#8221;255&#8243; green=&#8221;0&#8243; blue=&#8221;0&#8243;/&gt;<br />
&lt;font&gt;sans-italic&lt;/font&gt;<br />
&lt;outlineColor red=&#8221;255&#8243; green=&#8221;255&#8243; blue=&#8221;255&#8243;/&gt;<br />
&lt;partials&gt;FALSE&lt;/partials&gt;<br />
&lt;position&gt;AUTO&lt;/position&gt;<br />
&lt;size&gt;8&lt;/size&gt;<br />
&lt;/Label</span>&gt;<br />
&#8230;So this feature is not realy exciting BUT now we have a tool to parse any mapfile and option to build new client interface for Mapfile.  This is a prety good news&#8230; <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
</map>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=9670d679-5a6b-81d9-afc9-7e43cd9f924b" alt="" /></div>
<br />  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=targetgis.wordpress.com&#038;blog=11219395&#038;post=123&#038;subd=targetgis&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://targetgis.wordpress.com/2010/01/19/a-new-xml-mapfile-format-in-mapserver-5-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/734fd6152b070715cd130ae85bb36a4c?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">simw2p</media:title>
		</media:content>

		<media:content url="http://img.zemanta.com/pixy.gif?x-id=9670d679-5a6b-81d9-afc9-7e43cd9f924b" medium="image" />
	</item>
		<item>
		<title>Understand Resolution in OpenLayers and TileCache</title>
		<link>http://targetgis.wordpress.com/2010/01/17/understand-resolution-in-openlayers-and-tilecache/</link>
		<comments>http://targetgis.wordpress.com/2010/01/17/understand-resolution-in-openlayers-and-tilecache/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 14:52:39 +0000</pubDate>
		<dc:creator>Simon Mercier</dc:creator>
				<category><![CDATA[OpenLayers]]></category>
		<category><![CDATA[TileCache]]></category>
		<category><![CDATA[resolution]]></category>

		<guid isPermaLink="false">http://targetgis.org/?p=88</guid>
		<description><![CDATA[I read on the net lots of confusion with Resolution in OpenLayers and TileCache.  Consider resolution like map scale.  We have to get resolution rather than scale because OpenLayer use the relationship between image size and number of pixels per tile. To compute this relationship we have to start with the extent layer.  Openlayers must [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=targetgis.wordpress.com&#038;blog=11219395&#038;post=88&#038;subd=targetgis&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I read on the net lots of confusion with Resolution in OpenLayers and TileCache.  Consider resolution like map scale.  We have to get resolution rather than scale because OpenLayer use the relationship between image size and number of pixels per tile. To compute this relationship we have to start with the extent layer.  Openlayers must know exactly where to go, when you decreasing levels.</p>
<p>For this example I use an Overlay layer extent for Google maps in metres(EPSG:900913).  If the extent is for planet(<span style="font-family:Courier New;">-20037508.34,-20037508.34,20037508.34,20037508.34</span>) and have a tile of 256&#215;256 pixels, we can computed the resolution like this:</p>
<p>Resolution = |Delta x| / number of pixel per tile<br />
<span style="font-family:Courier New;">-20037508.34 &#8211; </span><span style="font-family:Courier New;">20037508.34 / 256</span> <span style="font-family:Courier New;">= 156543,0339</span></p>
<p>The sacale of this resolution will be compute by the relationship of pixel and dot per inch of your image map.  If your map have 96 dpi we just have to convert this relationship in metres to get the number of metre by pixel:</p>
<p>nb metre per pixel = pixels / dpi * Convertion factor to inch to metre<span style="font-family:Courier New;"><br />
256 / 96 * 0.0254 = 0,06773333333</span></p>
<p>Finaly,  the scale of each levels of this map in OpenLayers will be  calculated like this</p>
<p>Scale = Resolution * nb pixel per tile / nb metre per pixel<br />
<span style="font-family:Courier New;">156543,0339 * 256 / 0,0677333333 = 591 658 711</span></p>
<p>For all others levels resolution MUST be divided by 2 by the preceding level because OpenLayers does not support irregular decreasing resolution.</p>
<table style="border-collapse:collapse;width:456pt;" border="0" cellspacing="0" cellpadding="0" width="607">
<col style="width:66pt;" width="88"></col>
<col style="width:101pt;" width="134"></col>
<col style="width:66pt;" width="88"></col>
<col style="width:120pt;" width="160"></col>
<col style="width:103pt;" width="137"></col>
<tbody>
<tr style="height:15pt;">
<td class="xl26" style="height:15pt;width:66pt;" width="88" height="20" align="center"><strong><span style="font-family:Courier New;">m / pixel</span></strong></td>
<td class="xl26" style="width:101pt;" width="134" align="center"><strong><span style="font-family:Courier New;">Scale</span></strong></td>
<td class="xl27" style="width:66pt;" width="88" align="right"><strong><span style="font-family:Courier New;">taille image</span></strong></td>
<td class="xl27" style="width:120pt;" width="160" align="right"><strong><span style="font-family:Courier New;">resolution</span></strong></td>
<td class="xl27" style="width:103pt;" width="137" align="right"><strong><span style="font-family:Courier New;">Openlayers </span></strong><br />
<strong><span style="font-family:Courier New;">Levels<br />
</span></strong></td>
</tr>
<tr style="height:15pt;">
<td class="xl25" style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">591  658 711</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">156543,0339</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">0</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">295  829 355</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">78271,51695</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">1</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">147  914 678</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">39135,75848</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">2</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">73  957 339</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">19567,87924</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">3</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">36  978 669</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">9783,939619</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">4</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">18  489 335</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">4891,969809</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">5</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">9 244  667</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">2445,984905</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">6</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">4  622 334</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">1222,992452</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">7</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">2  311 167</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">611,4962262</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">8</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">1  155 583</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">305,7481131</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">9</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">577  792</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">152,8740565</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">10</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">288  896</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">76,43702827</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">11</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">144  448</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">38,21851414</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">12</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">72  224</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">19,10925707</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">13</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">36  112</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">9,554628534</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">14</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">18  056</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">4,777314267</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">15</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">9  028</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">2,388657133</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">16</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">4  514</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">1,194328567</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">17</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">2  257</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">0,597164283</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">18</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">1  128</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">0,298582142</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">19</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">564</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">0,149291071</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">20</span></strong></td>
</tr>
<tr style="height:15pt;">
<td style="height:15pt;" height="20" align="right"><span style="font-family:Courier New;">0,06773333</span></td>
<td class="xl28" align="right"><strong><span style="font-family:Courier New;">282</span></strong></td>
<td align="right"><span style="font-family:Courier New;">256</span></td>
<td align="right"><span style="font-family:Courier New;">0,074645535</span></td>
<td class="xl24" align="center"><strong><span style="font-family:Courier New;">21</span></strong></td>
</tr>
</tbody>
</table>
<table style="border-collapse:collapse;width:101pt;" border="0" cellspacing="0" cellpadding="0" width="134">
<col style="width:101pt;" width="134"></col>
<tbody>
<tr style="height:15pt;">
<td class="xl24" style="height:15pt;width:101pt;" width="134" height="20" align="right"></td>
</tr>
</tbody>
</table>
<p><span style="font-family:Courier New;"> </span></p>
<p><strong><em><span style="font-family:sans-serif;"><em> </em></span></em></strong></p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=1c28692c-ab6e-8373-b54d-cf0214f2342e" alt="" /></div>
<br />  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=targetgis.wordpress.com&#038;blog=11219395&#038;post=88&#038;subd=targetgis&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://targetgis.wordpress.com/2010/01/17/understand-resolution-in-openlayers-and-tilecache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/734fd6152b070715cd130ae85bb36a4c?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">simw2p</media:title>
		</media:content>

		<media:content url="http://img.zemanta.com/pixy.gif?x-id=1c28692c-ab6e-8373-b54d-cf0214f2342e" medium="image" />
	</item>
		<item>
		<title>How to produce 8bits AGG homemade colors palette with Mapserver</title>
		<link>http://targetgis.wordpress.com/2010/01/16/how-to-produce-8bits-agg-homemade-colors-palette-with-mapserver/</link>
		<comments>http://targetgis.wordpress.com/2010/01/16/how-to-produce-8bits-agg-homemade-colors-palette-with-mapserver/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 05:46:56 +0000</pubDate>
		<dc:creator>Simon Mercier</dc:creator>
				<category><![CDATA[GDAL]]></category>
		<category><![CDATA[MapServer]]></category>
		<category><![CDATA[AGG]]></category>
		<category><![CDATA[agg 8bits]]></category>
		<category><![CDATA[gdalinfo]]></category>
		<category><![CDATA[mapfile]]></category>
		<category><![CDATA[mapserver agg]]></category>

		<guid isPermaLink="false">http://targetgis.org/?p=86</guid>
		<description><![CDATA[The format of the output image affects the quality and size of the image to be transferred to the client on the web. We are always trying to minimize the size without losing image quality. With Mapserver, we can use the format AGG (24bit or 32bit PNG) of high quality although it&#8217;s also a format [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=targetgis.wordpress.com&#038;blog=11219395&#038;post=86&#038;subd=targetgis&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The format of the output image affects the quality and size of the image to be transferred to the client on the web. We are always trying to minimize the size without losing image quality. With Mapserver, we can use the format AGG (24bit or 32bit PNG) of high quality although it&#8217;s also a format that produces larger image size(in Kb). But, it&#8217;s possible to force Mapserver to produce images of excellent qualities AGG 8bit format.</p>
<p>The default image format output in Mapserver is 8bit PNG format (256 colors). To test a 24bits or 32bits format, you must overwrite the default format in your mapfile with this in your MAP tag.</p>
<p><span style="font-family:Courier New;"><br />
OUTPUTFORMAT<br />
&nbsp;&nbsp;&nbsp;NAME &#34;png&#34;<br />
&nbsp;&nbsp;&nbsp;MIMETYPE &#34;image/png&#34;<br />
&nbsp;&nbsp;&nbsp;DRIVER &#34;GD/PNG&#34;<br />
&nbsp;&nbsp;&nbsp;EXTENSION &#34;png&#34;<br />
&nbsp;&nbsp;&nbsp;#&#8211;IMAGEMODE RGB #&#8211; Driver PNG 24bit<br />
&nbsp;&nbsp;&nbsp;IMAGEMODE RGBA #&#8211; Driver PNG 32bit<br />
&nbsp;&nbsp;&nbsp;TRANSPARENT ON<br />
END<br />
</span><br />
The default AGG format in Mapserver is a 24bits driver but you can use a 8bits driver.  This type of driver in your mapfile will cause a slower performence of Mapserver.  You can specify a predefined colors palette to improved performance and get accurate colors of your map.  To build your <em>homemade </em>colors palette, you have first to produce a 8bits AGG image by mapserver with this driver in your mapfile:</p>
<p><span style="font-family:Courier New;"><br />
OUTPUTFORMAT<br />
&nbsp;&nbsp;&nbsp;NAME &#34;png8bitaggauto&#34;<br />
&nbsp;&nbsp;&nbsp;DRIVER &#34;AGG/PNG&#34;<br />
&nbsp;&nbsp;&nbsp;MIMETYPE &#34;image/png&#34;<br />
&nbsp;&nbsp;&nbsp;IMAGEMODE &#34;pc256&#34;<br />
&nbsp;&nbsp;&nbsp;EXTENSION &#34;png&#34;<br />
&nbsp;&nbsp;&nbsp;FORMATOPTION &#34;TRANSPARENT=ON&#34;<br />
&nbsp;&nbsp;&nbsp;FORMATOPTION &#34;INTERLACE=OFF&#34;<br />
&nbsp;&nbsp;&nbsp;FORMATOPTION &#34;QUANTIZE_FORCE=ON&#34;<br />
&nbsp;&nbsp;&nbsp;FORMATOPTION &#34;QUANTIZE_COLORS=256&#34;<br />
END</span></p>
<p>I suggest to produce more than just one image.  Get images from multiple scales and different sectors of your WMS to get every colors.  After,  build a mosaic all images with an imaging tool like <em>Microsoft Paint</em> or <em><a href="www.gimp.org/">Gymp</a>. </em></p>
<p><a href="http://targetgis.files.wordpress.com/2010/01/blog_palette1.jpg"><img class="alignright size-full wp-image-116" title="blog_palette" src="http://targetgis.files.wordpress.com/2010/01/blog_palette1.jpg?w=480" alt=""   /></a></p>
<p>Finally, use <a href="http://www.gdal.org/gdalinfo.html" target="_blank">gdalinfo </a>to get your palette colors and paste them in a ASCII file. To use your new palette colors and realy improve your Mapserver AGG image output, add this driver specification in your mapfile(in MAP tag)</p>
<p><span style="font-family:Courier New;"><br />
#&#8211; Driver AGG 8bits<br />
OUTPUTFORMAT<br />
&nbsp;&nbsp;&nbsp;NAME &#34;png8bitsagg&#34;<br />
&nbsp;&nbsp;&nbsp;DRIVER &#34;AGG/PNG&#34;<br />
&nbsp;&nbsp;&nbsp;MIMETYPE &#34;image/png&#34;<br />
&nbsp;&nbsp;&nbsp;IMAGEMODE &#34;rgba&#34;<br />
&nbsp;&nbsp;&nbsp;EXTENSION &#34;png&#34;<br />
&nbsp;&nbsp;&nbsp;FORMATOPTION &#34;TRANSPARENT=ON&#34;<br />
&nbsp;&nbsp;&nbsp;FORMATOPTION &#34;PALETTE_FORCE=TRUE&#34;<br />
&nbsp;&nbsp;&nbsp;FORMATOPTION &#34;PALETTE=E:\ms4w\pal\pal_agg256.txt&#34;<br />
&nbsp;&nbsp;&nbsp;FORMATOPTION &#34;INTERLACE=OFF&#34;<br />
END<br />
</span></p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=0bef0a46-eaf2-8e7f-aa8d-bdab2400ab32" alt="" /></div>
<br />  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=targetgis.wordpress.com&#038;blog=11219395&#038;post=86&#038;subd=targetgis&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://targetgis.wordpress.com/2010/01/16/how-to-produce-8bits-agg-homemade-colors-palette-with-mapserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/734fd6152b070715cd130ae85bb36a4c?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">simw2p</media:title>
		</media:content>

		<media:content url="http://targetgis.files.wordpress.com/2010/01/blog_palette1.jpg" medium="image">
			<media:title type="html">blog_palette</media:title>
		</media:content>

		<media:content url="http://img.zemanta.com/pixy.gif?x-id=0bef0a46-eaf2-8e7f-aa8d-bdab2400ab32" medium="image" />
	</item>
		<item>
		<title>How to have nice symbol pixmap with transparency in Mapserver</title>
		<link>http://targetgis.wordpress.com/2010/01/12/how-to-have-nice-symbol-pixmap-with-transparency-in-mapserver/</link>
		<comments>http://targetgis.wordpress.com/2010/01/12/how-to-have-nice-symbol-pixmap-with-transparency-in-mapserver/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 13:02:42 +0000</pubDate>
		<dc:creator>Simon Mercier</dc:creator>
				<category><![CDATA[MapServer]]></category>
		<category><![CDATA[GDAL]]></category>
		<category><![CDATA[symbol]]></category>
		<category><![CDATA[symbolset]]></category>

		<guid isPermaLink="false">http://targetgis.org/?p=68</guid>
		<description><![CDATA[First, to have a nice symbol pixmap, you should reduce the size of the image the same size it should appear in the map. To do this, you must not resize the symbol in the class layer of your mapfile.  It may be necessary to resample your image. Use Gimp(a photoshop Open sources) for this. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=targetgis.wordpress.com&#038;blog=11219395&#038;post=68&#038;subd=targetgis&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>First, to have a nice symbol pixmap, you should reduce the size of the image the same size it should appear in the map. To do this, you must not resize the symbol in the class layer of your mapfile.  It may be necessary to resample your image.  Use <a href="http://www.gimp.org/" target="_blank">Gimp</a>(a photoshop Open sources) for this.</p>
<p>For transparency works well, use a gif format. If your symbol(image)  does not use transparency, you can quickly create one with <em>Microsoft Photo Editor</em>.  You only need to identify the background color with <em>Transparent Color</em> function.  This little function allows you to quickly create a NoData Value for image.</p>
<p>Then, you must know the index(NoData Value) of transparent color of your symbole.  This is not the transparent RGB color. To do this, you can use the utility <a href="www.gdal.org/gdalinfo.html" target="_blank">gdalinfo</a> to get the transparent index color.  In this example, we have NoData Value = 254.</p>
<p><a href="http://targetgis.files.wordpress.com/2010/01/tranpa1.jpg"><img class="alignnone size-full wp-image-70" title="tranpa" src="http://targetgis.files.wordpress.com/2010/01/tranpa1.jpg?w=480&#038;h=185" alt="" width="480" height="185" /></a></p>
<p>Finally, just have to put this value in the symbol pixmap of your mapfile:</p>
<p><span style="font-family:'courier new',monospace;"><br />
SYMBOL<br />
&nbsp;&nbsp; NAME &#34;nn&#34;<br />
&nbsp;&nbsp; TYPE PIXMAP<br />
&nbsp;&nbsp; IMAGE &#34;1nn.gif&#34;<br />
&nbsp;&nbsp; TRANSPARENT 254<br />
END<br />
</span></p>
<br />  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=targetgis.wordpress.com&#038;blog=11219395&#038;post=68&#038;subd=targetgis&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://targetgis.wordpress.com/2010/01/12/how-to-have-nice-symbol-pixmap-with-transparency-in-mapserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/734fd6152b070715cd130ae85bb36a4c?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">simw2p</media:title>
		</media:content>

		<media:content url="http://targetgis.files.wordpress.com/2010/01/tranpa1.jpg" medium="image">
			<media:title type="html">tranpa</media:title>
		</media:content>
	</item>
		<item>
		<title>MapOSMatic</title>
		<link>http://targetgis.wordpress.com/2010/01/11/maposmatic/</link>
		<comments>http://targetgis.wordpress.com/2010/01/11/maposmatic/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 22:46:49 +0000</pubDate>
		<dc:creator>Simon Mercier</dc:creator>
				<category><![CDATA[OpenStreetsMap]]></category>
		<category><![CDATA[MapOSMatic]]></category>

		<guid isPermaLink="false">http://targetgis.org/?p=63</guid>
		<description><![CDATA[MapOSMatic is a web services to generate maps of cities or towns,  including index of streets, from OpenStreetMap data. From About project, MapOSMatic was launched with an idea of Gilles Lamiral, a contributor to OpenStreetMap and Free Software in the region in Rennes France. From his idea, a group of hackers crazy met Hackfest during [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=targetgis.wordpress.com&#038;blog=11219395&#038;post=63&#038;subd=targetgis&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>MapOSMatic is a web services to generate maps of cities or towns,  including index of streets, from OpenStreetMap data.</p>
<p>From <a href="http://www.maposmatic.org/about/" target="_blank">About </a>project, <em>MapOSMatic was launched with an idea of Gilles Lamiral, a contributor to OpenStreetMap and Free Software in the region in Rennes France. From his idea, a group of hackers crazy met Hackfest during one week in August 2009 and has transformed the idea into reality Gilles. The group of hackers crazy wishes to thank Gilles for sharing this brilliant idea!<br />
</em></p>
<p>It is made of two components:</p>
<ul>
<li><strong>maposmatic</strong>, the web front-end. An application written using the Django framework allows to submit and visualize map rendering jobs. The rendering is done in the background by a daemon called maposmaticd;</li>
</ul>
<ul>
<li><strong>ocitysmap</strong>, the back-end that generates the map. It is available as a Python module, used both by the maposmatic daemon (above) and by a sample command line application.</li>
</ul>
<p>You are invited to contribute to the project on  <a href="https://savannah.nongnu.org/projects/maposmatic/" target="_blank">Savannah</a></p>
<br />  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=targetgis.wordpress.com&#038;blog=11219395&#038;post=63&#038;subd=targetgis&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://targetgis.wordpress.com/2010/01/11/maposmatic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/734fd6152b070715cd130ae85bb36a4c?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">simw2p</media:title>
		</media:content>
	</item>
	</channel>
</rss>
