So the rendering is at the top level. This way, projects that use the same layering, symbology, and data access can simply swap out what they use for rendering pretty easily. Right now the C# MapWindow6 Map control is 2D and draws with GDI+. However, we have a very early prototype for a DirectX 3D map that is built on top of the same framework for the non-drawing components. Both implement a single IMap interface, so as far as the legend component is concerned, we can unplug one map and plug in another very easily. <br>
<br>Dan and I are interested in moving the code that we have for the various MapWindow 6 components into the System.Spatial namespace, and then the code will be centrally located so that we can focus as a larger group on how to refactor these code libraries to better suit the multiple kinds of projects that are out there. There are, for example, going to be silverlight projects that are allergic to the Forms and GDI+ drawing. At the same time, there are mono friendly projects that cannot work with WPF, but might be able to digest silverlight (moonlight). I'm currently working in .Net 3.5, but there are purportedly some major advantages to switching to 4.0, like allowing silverlight projects to reference libraries that are not silverlight.<br>
<br>So maybe the first step is to make a basic dump of what we have and then start getting feedback from the community on how we can go about refactoring things to help as many people as possible. Again, we want a bazaar, not a cathedral in this environment.<br>
<br><br>Dr. Harold A. Dunsford Jr. (Ted)<br>Dept. Geosciences<br>Idaho State University<br><br><div class="gmail_quote">On Wed, Jun 16, 2010 at 9:54 AM, Michael P. Gerlek <span dir="ltr"><<a href="mailto:mpg@lizardtech.com">mpg@lizardtech.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">I’m late getting back to the party, but…</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">* How does MapWindow v6 do its graphics – WPF, Forms, GDI,
DirectX, ..?</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">* I’m totally in favor of filling out a Spatial namespace.
Not sure if it is PC to hijack the System top level namespace, but that aside I’d
love to see something like this come together. Especially if we can keep
things safe for Mono folks too. What can I do to help? GDAL
and liblas both have .NET bindings, so those could be used for raster and LAS
support.</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">* “OSGeo.NET” has a nice ring to it :-)</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">* Do we have a listing of .NET geo projects somewhere? I
started a page (<a href="http://wiki.osgeo.org/wiki/DotNetProjects" target="_blank">http://wiki.osgeo.org/wiki/DotNetProjects</a>)
once upon a time, but it is likely very out of date now.</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">-mpg</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-width: medium medium medium 1.5pt; border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; padding: 0in 0in 0in 4pt;">
<div>
<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:dotnet-bounces@lists.osgeo.org" target="_blank">dotnet-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:dotnet-bounces@lists.osgeo.org" target="_blank">dotnet-bounces@lists.osgeo.org</a>] <b>On
Behalf Of </b>Daniel Ames<br>
<b>Sent:</b> Tuesday, May 18, 2010 11:49 PM<br>
<b>To:</b> <a href="mailto:dotnet@lists.osgeo.org" target="_blank">dotnet@lists.osgeo.org</a><br>
<b>Subject:</b> [DotNet-OSGeo] More introductions and a joint development
proposal...</span></p>
</div>
</div><div><div></div><div class="h5">
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks to all of you who have joined this list in the last
couple of days since we created it. Very cool to see that there is indeed
interest in .NET open source! (Of course we all knew it...).</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">OK, so by way of introductions, I've been the project leader
of the MapWindow project for the past several years (<a href="http://www.MapWindow.org" target="_blank">http://www.MapWindow.org</a>) which is a C++
ActiveX control wrapped by a <a href="http://VB.NET" target="_blank">VB.NET</a> desktop
application that hosts plugins - mostly written in C#. Of course it's all open
source from the ground up. Our desktop app is probably the most popular tool in
our arsenal with about 6,000 downloads per month.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Our latest effort has been to create a fully C# version of
everything for reasons that I'm sure you all would understand (such as getting
away from ActiveX/COM "DLL Hell"...) That project is here: <a href="http://mapwindow6.codeplex.com" target="_blank">http://mapwindow6.codeplex.com</a> </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">As we've been working on this here in my lab in Idaho, it
struck several of us that we should start working as a broader OSGeo .NET group
on constructing a core set of libraries that fit snugly into the .NET
Framework. The goal here would be to build on a common namespace in such a way
that we result in tools that all live and work nicely together.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">So here is my proposal... we would like to participate in a
group effort to develop a set of .NET based GIS related libraries under the
"System.Spatial" namespace. This could include things such as
"System.Spatial.Projections" "System.Spatial.Data" etc. All
of these would be compatible libraries that - together - give programmers a
complete set of tools for building GIS enabled software. We would just need all
of the interested parties who are working on separate tools, to contribute
their tools - retooled under the new namespace...</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Who knows... if we do it right, maybe Microsoft would go so
far as to give it a stamp of approval and link to it from their .NET developer
sites...</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">In any case, please give this idea some thought... We have
started a placeholder CodePlex project for this effort at <a href="http://dotspatial.codeplex.com" target="_blank">http://dotspatial.codeplex.com</a> and
have made the first contribution which is a full port of PROJ4 to a C# DLL
called System.Spatial.Projections.dll. We've also started listing ideas on what
the various sub-namespaces could be (on that codeplex site home
page). </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Any feedback or thoughts on this idea would be much
appreciated! Also, anyone have any ideas on what a good
"dotSpatial" logo might look like? and how could/should we get
various developers of various low-level C# DLLs to contribute?</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Dan</p>
</div>
<p class="MsoNormal" style="margin-bottom: 12pt;"><br>
-- <br>
Daniel P. Ames, Ph.D. PE<br>
Associate Professor, Geosciences<br>
Idaho State University - Idaho Falls<br>
<a href="mailto:amesdani@isu.edu" target="_blank">amesdani@isu.edu</a><br>
<a href="http://geology.isu.edu" target="_blank">geology.isu.edu</a><br>
<a href="http://www.mapwindow.org" target="_blank">www.mapwindow.org</a><br>
<br>
*************************************************************************<br>
See you at IEMSS 2010: <a href="http://www.iemss.org/iemss2010/" target="_blank">http://www.iemss.org/iemss2010/</a><br>
*************************************************************************</p>
</div></div></div>
</div>
</div>
<br>_______________________________________________<br>
DotNet mailing list<br>
<a href="mailto:DotNet@lists.osgeo.org">DotNet@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/dotnet" target="_blank">http://lists.osgeo.org/mailman/listinfo/dotnet</a><br>
<br></blockquote></div><br>