- Placemark name
- Placemark snippet
- Placemark description
- Description HTML tables (needs more testing)
- Lat/Long of point data
- Elevation of point data
Friday, March 05, 2010
Kml2Shapefile for MapWindow GIS
Saturday, December 19, 2009
Shapefiles for Web Mapping
Wednesday, December 16, 2009
Shape2Earth Users Guide
Saturday, November 21, 2009
Shape2Earth for MapWindow GIS 4.7 Released
This version of Shape2Earth offers a number of improvements, including:
1. Better handling of complex geometries
2. Ability to add custom balloon styles
3. Exporting of selected data, or data in a specific area
4. Sorting of spatial features into KML Folders based on an attribute
5. Higher accuracy on geo-referenced Google Earth image captures
Shape2Earth has been downloaded over 32,000 times in the last 18 months, and has been found to be exceptionally useful and cost effective by local and federal government agencies, as well as industry leaders in a multitude of professional specialties.
Download Shape2Earth and try it on your own data today.
Friday, October 02, 2009
MapWindow GIS User and Developer Conference
MapWindow is a .NET, open source, easy to use, desktop GIS that can be extended through plugins.
Friday, May 29, 2009
Shape2Earth4GPS Alpha

Currently, it works very well for digitizing your waypoints and routes, and then saving them as GPX files to upload into your favorite GPS receiver. You can also load and edit your existing waypoints, routes, and tracks.
If anyone would like to act as a beta tester for Shape2Earth4GPS, please send me a note at sabin21@gmail.com
Thursday, May 28, 2009
ArcGIS Explorer - Color Coding Shapefile Data
Using shapefiles, a file based personal geodatabase, or an ArcSDE geodatabase won’t work, because it does not look like you can have an attribute based coloring scheme. There also does not appear to by any way to extrude the shapefiles, and the building need to be 3D.
I can use KML to extrude buildings and change the color of individual features, but I cannot run any of the spatial operations on a KML file.
I am getting around this by using both shapefiles and KML. I’m using the ArcGIS Explorer API to generate KML form the shapefiles on the fly. Each KML Placemark has an ID that is equal to the shapefile FeatureID. I’m using the API to select features from the shapefile based on a point (for selecting an individual building) or by area (to select t group of buildings from a buffer). I can then open the XML/KML file, get the associated Placemarks by matching their Id to the FID, change their style to reflect the change in attribution, and then reload to view the change.
This seems to be a nice way to get around some of the limitations in ArcGIS Explorer to make it quite a bit more useful for my application requirements. This method also seems to work with file based personal geodatabases and ArcSDE.
Friday, February 27, 2009
Create and Edit GPX In Google Earth
The Google Earth plugin is intended for use in a web page, but can also be embedded in a desktop application in a web control or referenced as an ActiveX control.
A common method for embedding the Google Earth plugin in a desktop application can be viewed online as a part of the Google Earth code samples.
Part of what makes the Google Earth plugin so much more flexible than its desktop counterpart is the programmatic control that is given to developers through its API.
Not only can spatial data be loaded as KML, but the source data can be directly manipulated through the Google Earth interface.
An example of this is the GPX editor seen below.
GPX is an XML based exchange format for GPS data such as waypoints, routes, and tracks. The GPX editor in iEarth can load existing GPX data for viewing or editing, and also lets users digitize and edit data from scratch. The data is translated into KML for viewing in Google Earth, but is kept in internally in the GPX format for saving.
This same method can be used with Shapefiles. The next release of Shape2Earth will embed a link to the shapefile so that editing spatial or attribute data in iEarth will also edit the shapefile.
Wednesday, July 30, 2008
ESRI Online Services + Microsoft Virtual Earth
Users of ESRI’s ArcGIS will now be able to directly load base map data from the Microsoft Virtual Earth platform into the ArcGIS 9.3 Desktop and Explorer. Data layers will include the high resolution street maps, imagery, and hybrid that we have become accustom to seeing in Microsoft’s Virtual Earth.
Access to this data requires a subscription to ArcGIS Online Service.
Imagery can be previewed at http://resources.esri.com/arcgisonlineservices.
Virtual Earth ASP.NET Control
The Windows Live Dev Blog points out that the map can be made even more interactive through the use of ASP.NET AJAX.
This control is one of several that Microsoft is offering as part of their Live Tools for Microsoft Visual Studio.
Wednesday, July 09, 2008
Shapefile to GeoRSS for Google Maps
View the Google Map/GeoRSS sample to see how point GIS data can be viewed.
Tuesday, June 24, 2008
Google Earth Custom Icon Editor
Custom icons can be added to the pallete
Custom icons will stay in the icon window for later use
Shape2Earth icons can be changed when the user 'hovers' over an icon in Google Earth
Friday, April 18, 2008
Leica TITAN
It appears to be your standard 3d earth browser, but is oriented more towards data sharing and collaboration. It has a built in instant messanger to share your spatial data with others.
Leica Titan Globe
Search for a Place and zoom
Load a shapefile. It seems to be able to handle many different formats.
You can change feature colors (not based on attributes).
Click on a loaded feature to view attributes
You can also load photos and place notes on the Earth to send to others. Performance was not to bad, though navigation was a bit touchy and took some getting used to. It seemed to me to be a bit like ArcGIS Explorer, but without the extensibility.
Leica TITAN is available for download.
Thursday, April 17, 2008
Google Earth Version 4.3 Released
The new lighting makes the Earth look much brighter, and the orientation of the light can be changed by moving the position of the Sun based on the time of day. This does not really make Google Earth better, it just makes it look different than in the past.
The new navigation control takes some getting used to, but it does let users move in ways that were not really possible before. There is more of a hover mode that makes is easier to move around when you are zoomed in close to an object, such as a model. This is a much bigger deal to me. Google Earth has always been good for navigating on a global scale, but needs some better controls for moving around a regional or smaller scale.
I had some problems with Google Earth locking up on me. I am staying with 4.2 until the next release, which typically cleans up a lot of issues.
Much better write ups on new functionality and a video can be seen at Google Earth Blog, and at Google LatLon , with some nice general thoughts at OgleEarth.
Monday, March 24, 2008
Open Source Geospatial Metadata Editor
As an example, if you are going to be making decisions based on a spatial dataset, you need to know how accurate and/or precise the data is. Data may have been collected using high grade survey equipment, or it may have been digitized from the educated guess of a subject matter export. Both of these data may be useful, as long as the user knows about these accuracy issues.
ESRI provides two different metadata editors in ArcCatalog. One uses the FGDC metadata profile, and the other an ISO profile (both have some extra ESRI elements added).
The new release of MapWindow GIS (a freely available, open source GIS) has an excellent metadata extension that provides a number of metadata creation, management, and visualization tools.
The Editor can be launched from MapWindow, and can show metadata from a loaded shapefile, or from a metadata xml file loaded from the user interface. Metadata can also be viewed using a number of built in styles sheets.
The metadata editor seems to work very nicely. One change I would like to see would be the ability to store user contact information so that newly created metadata could be updated more easily.
The Metadata Editor can be launched from MapWindow
A simple to use TreeView lets users navigate through metadata elements
I would like to see a change so that users can save contact profiles for quick loading.
Of course this is open source, so there is nothing stopping me!
Metadata can be quickly viewed using a number of built in style-sheets.
MapWindow GIS 4.5 Release Candidate 2
MapWindow is a Microsoft .NET based, extensible, open source, geographic information system (GIS) for the desktop. It has an active user community, and has been releasing new versions at a regular pace. It's plugin model allows developers to quickly create powerful, custom tools that can be streamlined for specific business purposes at a fraction of the cost when compared to more robust systems.
MapWindow is an excellent GIS package for those who want some basic GIS functionality. I find myself using MapWindow much more often than ArcMap for my day-to-day GIS work. It's just much quicker to start up and getting going with for my run of the mill GIS work.
The most recent 4.5 candidate offers a number of new plugins that are making MapWindow even better. Among them are:
- A Great Metadata creation, viewing, and editing tool.
- A GPS connection and tracking plugin.
- A connection to PostGIS data
- Google Geocoder Tool.
- Enhancements to the Shapefile Editor
These are in addition to a number of other plugin extensions that have already been made available.
And, of course, there is the Shape2Earth shareware plugin that converts GIS data to KML for viewing in Google Earth and Google Maps.
Monday, February 04, 2008
KML for Web Mapping
Google Map's, as you might imagine, is getting much better at displaying KML on their web map. The example below shows a KML file (created by Shape2Earth) showing the total number of households by state.
First in Google Map:
http://maps.google.com/maps?q=http://shape2earth.com/Documents/states_NumHouseholds.kml
Then in Virtual Earth.
http://maps.live.com/?mapurl=http://shape2earth.com/Documents/states_NumHouseholds.kml
Note how the geometries in Virtual Earth do not line up very well, and in some cases, are not visible at all. Virtual Earth also seems to automatically add a center point, and does not adhere to the KML coloring scheme. If you switch to 3D mode, the geometries will line up much better, but the fill color seems to be absent.
It looks like any investments that you might be making in KML converters are going to be beneficial for some time to come.
Tuesday, January 29, 2008
Create Your Own Google Earth Application
To begin with, you will need to download Microsoft's Visual Studion Express Edition for C# (available for free at http://www.microsoft.com/express/vcsharp/).
Once Visual Studio is installed, select 'New Project' from the 'File' menu. In the New Project dialog box, select 'Windows Forms Application' and name your application 'FirstGeApp' (see below). Then select OK.

Once the new form is visible, right click on it and select 'Properties'. A properties window should appear in the lower right hand corner of Visual Studio. Change the following Form properties:
Name = frmViewCapture
Text = View Capture
TopMost = True
The TopMost property will keep your form on top of all other applications. This works well when interacting with Google Earth.

Once you have set the Form properties, we will add a MenuStrip control to the form, to do this, click on the Toolbox on the left side of the Visual Studio. When the tools appear, click on the pushpin icon to keep the tools open (see above).
After this, look for the 'MenuStrip' control and drag it onto your form.
Once the MenuStrip is on your Form, click on it to enter text. In the example below, I have added a 'File' menu and a "Capture View" menu. You can keep the default setting for both of these.
Next, we are going to add a TreeView control to store our captured views. Find TreeView from the Toobox pallete and drag it onto the form. Once you have done so, change the 'Dock' property of the TreeView to "Fill" (see bel0w). This will make the TreeView take up our whole Form.
Next, add an ImageList control. You can drag this control onto the Form, or drag it to the bottom part of Visual Studio (see below).
After you have added the ImageList, right click on and select 'Choose images' (see above). In the next dialog box, select "Add". Navigate to an icon of your choice (I used
C:\Program Files\Google\Google Earth\GoogleEarth.ico).
Once you have added the image, click on the TreeView in the form and look in the Properties on the right. Set the following properties:
ImageList = imageList1
ImageIndex = 0
Next, you will need to add a reference to Google Earth. To do so, look for 'References' in the Solution Explorer in the upper right hand panel of Visual Studio. Right click References and select "Add Reference". In the dialog box that comes up, select the 'Browse' tab. Browse to
C:\Program Files\Google\Google Earth\googleearth.dll (depending on your installation) and add it as a reference.
Next, click on Form1 in the Solution Explorer and select Code View (see below).

Now we are going to add some code. You will see code similar to below. Add the underlined code to project.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace FirstGeApp
{
public partial class frmViewCapture : Form
{
//Add a reference to the Google Earth Library
private EARTHLib.ApplicationGEClass _ge = new EARTHLib.ApplicationGEClass();
//Make an integer to keep track of our Google Earth Views
private int _viewNum = 0;
public frmViewCapture()
{
InitializeComponent();
}
}
}
Next, we will nee an event handler to capture the view. The simplest way to do this is to go back to your form and double-click "Capture View" on the menu that you added to your form. Visual Studio will automatically add the code below to handle the click event for this menu item.
private void captureViewToolStripMenuItem_Click(object sender, EventArgs e)
{
}
Next, we will add some code to actually handle this event. Write the following method underneath the captureViewToolStripMenuItem_Click method.
private void captureGeView()
{
//Get the current Google Earth Camera
EARTHLib.CameraInfoGE cam = _ge.GetCamera(1);
//Increment the number of views
_viewNum++;
//Create a Node for the tree view
TreeNode node = new TreeNode("View " + _viewNum.ToString());
//Add a reference the the GE Camera to the node
node.Tag = cam;
//Add the node to the tree view
this.treeView1.Nodes.Add(node);
}
Now, add "captureGeView();" to the captureViewToolStripMenuItem_Click method.
The next step is to add code to actually move Google Earth to each of the capture views. Go back to the Form and click on the TreeView control (treeView1). On top of the properties box, you will see an icon that looks like a bolt of lightening. Select this to see events for the TreeView. Double Click on MouseDown to automatically add a handler (see below).

This will add a "treeView1MouseDown" method to your code. Add the following code in this method.
private void treeView1_MouseDown(object sender, MouseEventArgs e)
{
//Get the clicked node
TreeNode node = this.treeView1.GetNodeAt(new Point(e.X, e.Y));
if (node != null)
{
//Get the cam from the tree view tag reference
EARTHLib.CameraInfoGE camera = (EARTHLib.CameraInfoGE)node.Tag;
//Move the GE View
moveGE(camera);
}
}
And the following
private void moveGE(EARTHLib.CameraInfoGE cam)
{
//Set the Google Earth Camera View
_ge.SetCamera(cam, .5); //Change this number to alter your speed
}
Now Press F5 on your keyboard to run. Google Earth will open with your application. Clicking "Capture View" will add a view to your Tree View. Clicking on a node on your TreeView will move you to that node
Can you name this stadium?
You can take this much farther by adding user input to name each view and alter the speed. Chain them together to creat a tour or export to KML.
Monday, January 28, 2008
Build Your Own Google Earth Control
Also, you can see delphi code to do the same thing at googleearthairlines.
Monday, January 21, 2008
Create a Google Earth Toolbar / Form
In the sample below, the application is sized to look like an extension to the Google Earth toolbar. It keeps track of the location of Google Earth so that it can stay in the same location. Different applications that interact with Google Earth can be launched from this toolbar.
Notice below the extension to the Google Earth Toolbar.

As an example, a custom Spatial Bookmark tool can save the current view of Google Earth for quick reference. Notice below how when this button is clicked on, a drop down menu of options is presented.

After selecting 'Create', a Windows form is launched. This form lets users name the current bookmark and set the zoom-to speed for when it selected.
Any of a number of spatial bookmarks can be save and accessed from the drop-down menu (see below).
The bookmark data itself is saved locally as an XML document. Different XML spatial bookmark documents can be saved and managed (see below).

In addition to saving bookmarks, the view itself can be sent through a web service to other people participating in a shared Google Earth collaboration.











