<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>SharpMap - Geospatial Application Framework for the CLR</title><link>http://sharpmap.codeplex.com/Project/ProjectRss.aspx</link><description>SharpMap is an easy-to-use map rendering and display engine, including AJAX-powered ASP.Net UserControl and a WinForm 2.0 control. You supply it with GIS data for use in web and desktop application...</description><item><title>New Post: How to set label at the mid of a line</title><link>http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=61261</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Remember that Graphics.MeasureString returns a result in the screen / image pixels whereas the geometries are in real world coordinates. You will need to use Map.ImageToWorld and Map.WorldToImage to convert between the two reference systems.. hth jd&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>johndiss</author><pubDate>Fri, 03 Jul 2009 09:32:51 GMT</pubDate><guid isPermaLink="false">New Post: How to set label at the mid of a line 20090703093251A</guid></item><item><title>New Post: How to set label at the mid of a line</title><link>http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=61261</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi johndiss,&lt;br&gt;&lt;br&gt;Thanks for your reply, I tried MeasureString but&amp;nbsp; they don't work. Here is my code&lt;br&gt;&lt;br&gt;SharpMap.Data.FeatureDataRow row = this.tbl.NewRow();&lt;br&gt;row[&amp;quot;ID&amp;quot;] = toNode.ID.ToString();&lt;br&gt;strName = fromNode.ID.ToString() + &amp;quot;-&amp;gt;&amp;quot; + toNode.ID.ToString();&lt;br&gt;row[&amp;quot;Name&amp;quot;] = strName;&lt;br&gt;System.Drawing.SizeF textsize = g.MeasureString(strName, font);&lt;br&gt;&lt;br&gt;row.Geometry = new SharpMap.Geometries.Point((fromNode.Position.X + toNode.Position.X) / 2 - textsize.Width / 2, (fromNode.Position.Y + toNode.Position.Y) / 2 - textsize.Height / 2) ;&lt;br&gt;tbl.AddRow(row);&lt;br&gt;.....&lt;br&gt;&lt;br&gt;this.layerLabel.Style = new SharpMap.Styles.LabelStyle();&lt;br&gt;this.layerLabel.Style.HorizontalAlignment = SharpMap.Styles.LabelStyle.HorizontalAlignmentEnum.Center;&lt;br&gt;this.layerLabel.Style.VerticalAlignment = SharpMap.Styles.LabelStyle.VerticalAlignmentEnum.Top;&lt;br&gt;this.dataProviderTopo = new SharpMap.Data.Providers.GeometryFeatureProvider(this.tbl);&lt;br&gt;this.layerLabel.DataSource = this.dataProviderTopo;&lt;br&gt;&lt;br&gt;mapControl1.Map.Layers.Add(layerLabel);&lt;br&gt;&lt;br&gt;&lt;br&gt;The problem is MeasureString function. The textsize.Width and textsize.Height are so big. For example, fromNode.Position.X =5 toNode.Position.X=10 and textsize.Width=70 ? Maybe i need a scale for MeasureString function?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>nguyen1phuong</author><pubDate>Fri, 03 Jul 2009 07:03:06 GMT</pubDate><guid isPermaLink="false">New Post: How to set label at the mid of a line 20090703070306A</guid></item><item><title>New Post: Error in Sharpmapcf v2</title><link>http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=61343</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;i have to create shapefiles (point) by clicking points in my map using pocketpc. I've downloaded PocketTopologySuite but seems that function is not well implemented. So i checkout sharpmacf v2 from assembla because i think that i can manipulate shapefile with it. I try to compile it with the same error in many lines all in LayerPresenter.cs&lt;/p&gt;
&lt;p&gt;Error&amp;nbsp;&amp;nbsp;&amp;nbsp; Expected class, delegate, enum, interface, or struct&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;can somebody help me??Thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>ladome1</author><pubDate>Thu, 02 Jul 2009 19:53:12 GMT</pubDate><guid isPermaLink="false">New Post: Error in Sharpmapcf v2 20090702075312P</guid></item><item><title>New Post: JPEG Layer + SharpMAP v0.9</title><link>http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=61316</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;To be honest I dont know... as there are multiple projects in the solution - not sure if that is a limitation of the express versions currently..&lt;/p&gt;&lt;/div&gt;</description><author>johndiss</author><pubDate>Thu, 02 Jul 2009 16:21:18 GMT</pubDate><guid isPermaLink="false">New Post: JPEG Layer + SharpMAP v0.9 20090702042118P</guid></item><item><title>New Post: JPEG Layer + SharpMAP v0.9</title><link>http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=61316</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;OK I think I get where you are coming from.&amp;nbsp; Will this be buildable in VS2008 C# express?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;&lt;/div&gt;</description><author>JDNelson</author><pubDate>Thu, 02 Jul 2009 16:12:27 GMT</pubDate><guid isPermaLink="false">New Post: JPEG Layer + SharpMAP v0.9 20090702041227P</guid></item><item><title>New Post: JPEG Layer + SharpMAP v0.9</title><link>http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=61316</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;ExternalReferences/References4SharpMap.Extensions&amp;nbsp; is in&amp;nbsp; the trunk of the SharpMap source (&lt;a href="http://sharpmap.codeplex.com/SourceControl/ListDownloadableCommits.aspx"&gt;http://sharpmap.codeplex.com/SourceControl/ListDownloadableCommits.aspx&lt;/a&gt;)- download with tortoise and build and use that instead of the dlls from the releases tab..&lt;/p&gt;&lt;/div&gt;</description><author>johndiss</author><pubDate>Thu, 02 Jul 2009 16:08:51 GMT</pubDate><guid isPermaLink="false">New Post: JPEG Layer + SharpMAP v0.9 20090702040851P</guid></item><item><title>New Post: JPEG Layer + SharpMAP v0.9</title><link>http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=61316</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I did that and got this error&lt;/p&gt;
&lt;p&gt;Error&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp; Type 'SharpMap.Layers.GdalRasterLayer' is not defined.&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\LCC\RankMAP\RankMAP\TAXI\TAXI\Form1.vb&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Where would I find &amp;quot;ExternalReferences/References4SharpMap.Extensions &amp;quot;?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>JDNelson</author><pubDate>Thu, 02 Jul 2009 15:46:15 GMT</pubDate><guid isPermaLink="false">New Post: JPEG Layer + SharpMAP v0.9 20090702034615P</guid></item><item><title>New Post: JPEG Layer + SharpMAP v0.9</title><link>http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=61316</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi James, they should be in the ExternalReferences/References4SharpMap.Extensions dir - anything that starts gdal|ogr|osr&lt;/p&gt;
&lt;p&gt;alternatively you may get them from &lt;a href="http://fwtools.maptools.org/"&gt;http://fwtools.maptools.org/&lt;/a&gt;&amp;nbsp;but you may have issues with versioning&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=46843"&gt;http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=46843&lt;/a&gt;&amp;nbsp;may be useful&lt;/p&gt;
&lt;p&gt;hth jd&lt;/p&gt;&lt;/div&gt;</description><author>johndiss</author><pubDate>Thu, 02 Jul 2009 15:36:40 GMT</pubDate><guid isPermaLink="false">New Post: JPEG Layer + SharpMAP v0.9 20090702033640P</guid></item><item><title>New Post: JPEG Layer + SharpMAP v0.9</title><link>http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=61316</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi John&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;THanks for the very quick reply.&amp;nbsp; Where do I get the FWTools DLLs from?&amp;nbsp; Will I need to reference them from my VB.NET project?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>JDNelson</author><pubDate>Thu, 02 Jul 2009 15:27:00 GMT</pubDate><guid isPermaLink="false">New Post: JPEG Layer + SharpMAP v0.9 20090702032700P</guid></item><item><title>New Post: JPEG Layer + SharpMAP v0.9</title><link>http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=61316</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi JDNelson, usually when people have issues with the GDALRasterLayer it is due to not copying _all_ the unmanaged FWTools dlls to the bin folder hth jd&lt;/p&gt;&lt;/div&gt;</description><author>johndiss</author><pubDate>Thu, 02 Jul 2009 15:24:21 GMT</pubDate><guid isPermaLink="false">New Post: JPEG Layer + SharpMAP v0.9 20090702032421P</guid></item><item><title>New Post: JPEG Layer + SharpMAP v0.9</title><link>http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=61316</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I am creating a WinForms app.&amp;nbsp; I can create vector layers (using ESRI Shape files) no problems.&amp;nbsp; Point and label layers from Access.MDB files.&amp;nbsp; I now have a JPG file fully georeff'd with a jpw file.&amp;nbsp; But No joy!&amp;nbsp; How do I implement a GDALRaterLayer?&amp;nbsp; I am using VB.NET in VS2008 Express.&amp;nbsp; The code is this...&lt;/p&gt;
&lt;p&gt;'================&lt;/p&gt;
&lt;p&gt;Public Class Form1&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim myMAP As New SharpMap.Map(New Size(MapImage1.Width, MapImage1.Height))&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#ff0000"&gt;&lt;strong&gt;Dim OSJPGLayer As SharpMap.Layers.GdalRasterLayer = New SharpMap.Layers.GdalRasterLayer(&amp;quot;OS&amp;quot;, &amp;quot;OS10K.jpg&amp;quot;)&lt;/strong&gt;&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myMAP.Layers.Add(OSJPGLayer)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myMAP.BackColor = Color.White&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myMAP.ZoomToExtents()&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MapImage1.Image = myMAP.GetMap()&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;br&gt;End Class&lt;/p&gt;
&lt;p&gt;'================&lt;/p&gt;
&lt;p&gt;it is the &lt;strong&gt;&lt;span style="color:#ff0000"&gt;OSJPGLayer &lt;/span&gt;&lt;/strong&gt;that screw things up.&amp;nbsp; I have sharpMap.dll and sharpMap.UI.dll referenced... again I am using v0.9.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any tips or help gratefully received.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;&lt;/div&gt;</description><author>JDNelson</author><pubDate>Thu, 02 Jul 2009 15:19:32 GMT</pubDate><guid isPermaLink="false">New Post: JPEG Layer + SharpMAP v0.9 20090702031932P</guid></item><item><title>New Post: How to set label at the mid of a line</title><link>http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=61261</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi nguyen1phuong, have you seen the LabelLayer.MultiPartGeometryBehavior, LabelStyle.[Horizontal|Vertical]Alignment ? If they don't work and you still need to measure the string you will need to use Graphics.MeasureString though this may require a bit of customisation to get a handle on the graphics object being used also note that MeasureString is a pretty slow call.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;hth jd&lt;/p&gt;&lt;/div&gt;</description><author>johndiss</author><pubDate>Thu, 02 Jul 2009 09:57:01 GMT</pubDate><guid isPermaLink="false">New Post: How to set label at the mid of a line 20090702095701A</guid></item><item><title>New Post: drag and select with a mouse on the map</title><link>http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=61146</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi jd ,thx for ur advices, i wil try it and see if it can work.&lt;/p&gt;
&lt;p&gt;thx again.&lt;/p&gt;&lt;/div&gt;</description><author>Ray_Z</author><pubDate>Thu, 02 Jul 2009 08:32:51 GMT</pubDate><guid isPermaLink="false">New Post: drag and select with a mouse on the map 20090702083251A</guid></item><item><title>New Post: How to set label at the mid of a line</title><link>http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=61261</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi everybody,&lt;/p&gt;
&lt;p&gt;I want to put a label at the mid of a line as folowing:&lt;/p&gt;
&lt;p&gt;(x1,y1) ---(my label)--- (x2,y2)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I set Geometry of label is (x1+x2)/2, (y1+y2)/2. But it still displays wrong position.&lt;/p&gt;
&lt;p&gt;Maybe geometry of label must be (x1+x2)/2 - length(my label)/2. But I don't know how to get length of label.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Anyone help me&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for any reply !&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>nguyen1phuong</author><pubDate>Thu, 02 Jul 2009 02:33:51 GMT</pubDate><guid isPermaLink="false">New Post: How to set label at the mid of a line 20090702023351A</guid></item><item><title>New Post: new to sharp map</title><link>http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=60586</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Fawad, do you mean that u want to keep a record of the place u&amp;nbsp;have clicked&amp;nbsp;?&amp;nbsp;im looking at a problem like&amp;nbsp;that ,&amp;nbsp;it requires&amp;nbsp;that the path of their clicks&amp;nbsp;are recorded so that they could review have&amp;nbsp;u got an idea on&amp;nbsp;your probs?&amp;nbsp;maybe we can discuss it together&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>Ray_Z</author><pubDate>Thu, 02 Jul 2009 01:48:20 GMT</pubDate><guid isPermaLink="false">New Post: new to sharp map 20090702014820A</guid></item><item><title>New Post: create/update shapefile sharpmapcf </title><link>http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=61102</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Assuming PocketTopologySuite doesn't deviate too far from NTS the test in NetTopologySuite.Samples.Console.Tests.IO.ShapefileWriteTest may help you get started hth jd&lt;/p&gt;&lt;/div&gt;</description><author>johndiss</author><pubDate>Wed, 01 Jul 2009 21:28:59 GMT</pubDate><guid isPermaLink="false">New Post: create/update shapefile sharpmapcf  20090701092859P</guid></item><item><title>New Post: create/update shapefile sharpmapcf </title><link>http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=61102</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;i have downloaded and successfully compiled the pocketTopologySuite, and there are classes for edit shapefile, but i don't find any code example to do this. These classes are shapefilewrites and Shapewriter...can you post some example?thanks&lt;/p&gt;&lt;/div&gt;</description><author>ladome1</author><pubDate>Wed, 01 Jul 2009 17:02:44 GMT</pubDate><guid isPermaLink="false">New Post: create/update shapefile sharpmapcf  20090701050244P</guid></item><item><title>New Post: create/update shapefile sharpmapcf </title><link>http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=61102</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi ladome1, I dont know what state SharpMap cf 2 is in - last I heard of it was quite a long time ago.. I meant NTS v1.7.x &lt;a href="http://nettopologysuite.googlecode.com"&gt;http://nettopologysuite.googlecode.com&lt;/a&gt; hth jd&lt;/p&gt;&lt;/div&gt;</description><author>johndiss</author><pubDate>Wed, 01 Jul 2009 14:08:59 GMT</pubDate><guid isPermaLink="false">New Post: create/update shapefile sharpmapcf  20090701020859P</guid></item><item><title>New Post: create/update shapefile sharpmapcf </title><link>http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=61102</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;thank you for the answer...i can use NTS with sharpmapcf 0.9? I try to compile sharpmapcf 2.0 from assembla svn, but i got 6 error&amp;nbsp; in presenterslayers like this:&lt;/p&gt;
&lt;p&gt;Error&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expected class, delegate, enum, interface, or struct&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;&lt;/div&gt;</description><author>ladome1</author><pubDate>Wed, 01 Jul 2009 13:24:34 GMT</pubDate><guid isPermaLink="false">New Post: create/update shapefile sharpmapcf  20090701012434P</guid></item><item><title>New Post: drag and select with a mouse on the map</title><link>http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=61146</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Ray_Z check out the Tools.Query options in MapImage and MapBox they will allow you to determin the geometries which intersect a dragged area. You can then either add the resulting geometries as a new temporary&amp;nbsp;layer or you could use a Theme to render the matching geometries in the original layer differently. hth jd&lt;/p&gt;&lt;/div&gt;</description><author>johndiss</author><pubDate>Wed, 01 Jul 2009 09:28:58 GMT</pubDate><guid isPermaLink="false">New Post: drag and select with a mouse on the map 20090701092858A</guid></item></channel></rss>