Introduction
GeoBase is a high-performance Geospatial mapping engine designed for rapid development and low total cost of deployment. Services provided by GeoBase include:
- Street Mapping
- Reverse Geocoding
- GeoFencing
- Address Lookup (Geocoding)
- Routing & Route Optimization
- Navigation
- Data Import Tools
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:
- Create a new Visual Studio Project
- Add a reference to the GeoBase .NET DLL
- Add a namespace directive to your code files
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’.
If you are using Visual Studio 2010 or later, you must make sure the target framework for your project is the full .NET framework and not a Client Profile. To check the target framework, right click on the project in the Solution Explorer and choose Properties. On the Application tab of the project properties dialog, check that the Target Framework name does not end in Client Profile.
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, Jun 20th 2010, 19:19
4 Comments
- jeal2001 says: on 20/6/11
- I am trying run examples yours, but I cannot; I just only see the: GEOBASE TRIAL 30 DAYS REMAIN NO COMMERICAL USE I am VB.NET
- Fanatic says: on 13/3/10
- How to start with geobase silverlight project? Can this be provided as a tutorial? I am having problem in adding the reference to Telogis.GeoBase.SilverStream.dll It was not there in my SDK! At least to me it looks like this...not sure :S
- PepitaL says: on 14/3/10
- Hi Farrukh, Thanks for your interest in Silverlight. You can download a demo application here: http://geozone.geobase.info/gbfile/releases/pv9ftmjd/SilverStream1.0.0.1.zip In addition, I would suggest you to have a look at the following tutorial: http://geozone.geobase.info/resources/view/create-a-silverstream-specific-visual-studio-silverlight-project I hope this helps Pepita
- PepitaL says: on 22/6/11
- Hi Aldo, The watermark with "GEOBASE TRIAL 30 DAYS REMAIN NO COMMERICAL USE" shows on top of the map if you're using the GeoBase SDK with a trial licence. If you are experiencing other issue such as missing base map, error when routing, etc... please send an email to gbsupport@telogis.com with a description of your issue, a screenshot and your sample application if possible. Regards, Pepita
