(Not Signed In)

Sign In

Resources

Create a GeoBase‐specific Visual Studio Project


Introduction

GeoBase is a high-performance Geospatial mapping engine designed for rapid development and low total cost of deployment. Services provided by GeoBase include:

This tutorial will describe how to create a GeoBase-specific Visual Studio project. This tutorial should provide a useful starting point for every GeoBase project that you create. At the end of this tutorial you will be able to:

Prerequisites

This tutorial assumes familiarity with Microsoft’s Visual Studio. You will need a copy of Visual Studio 2005 or later and a moderately-specified desktop computer. Experience with digital mapping technology is assumed only at a low level.

Setup

Before we can start using GeoBase we must obtain a copy of the software development kit (SDK). A 30-day trial of the SDK is available for download from the GeoBase website. Choose between two versions of the SDK. One version comes loaded with NAVTEQ data for the US (California and Nevada), the other for the UK and Ireland.
Download and install the SDK of your choice. If you don’t already have a license you will be guided through the simple process to obtain a trial license.

Creating the Project

Launch Visual Studio and create a new Project.


  


Make the appropriate selections to create a new C# Windows Application.


 


Name your project appropriately and click ‘OK’.


Before you begin to write code you should add a reference to ‘geobase.net.dll’. Adding a reference will allow you to harness GeoBase’s functionality, as well as provide IntelliSense.
 
Add a reference now by right-clicking the ‘References’ folder in ‘Solution Explorer’ and selecting ‘Add Reference’. You will be prompted to select a component. Click the ‘Browse’ tab and navigate to ‘C:\Program Files\Telogis\GeoBase\bin’. Select ‘geobase.net.dll’ and click ‘OK’.


 

Add the following namespace directive at the top of your source code. This will make your code easier to read and write.
       

using Telogis.GeoBase;


Similarly, if you use other GeoBase services (such as routing and navigation) you may wish to add other appropriate directives, such as:
       

using Telogis.GeoBase.Routing;
using Telogis.GeoBase.Navigation;


That’s it! You’re now ready to code and run your GeoBase application.


For more tutorials and examples browse the ‘GeoBase Tutorials’ and ‘Common Concepts’ section of the GeoBase reference documentation, included with the GeoBase SDK. Or, view our documentation and tutorials online.


If you have any queries please don’t hesitate to contact us. We trust that you will enjoy the simplicity and ease-of-use afforded by the GeoBase .NET component.
 

Published, Feb 14th, 13:23

Tagged under: geobase