MapInfo - Version MapBasic - Desktop Mapping Software
MapBasic is the ideal programming language to create custom MapInfo applications, extend the functionality of MapInfo, automate repetitive operations or integrate MapInfo with other applications. MapBasic contains powerful statements that enable you to add maps and geographic functionality to your applications with only a few lines of code. MapBasic programs are easy to integrate with applications written with such other programming languages as Visual Basic, Delphi and C++. MapBasic is a proven language with many hundreds of third-party applications on the market and downloadable.
From version 9.0, MapInfo MapBasic has been free to download from www.pbinsight.eu/uk please note that no earlier versions will be available in this way. So now it is even more cost effective to customise and automate your MapInfo Professional, thereby helping to maximise your investment in GIS.
- Powerful BASIC-like language
- Supports OLE and DDE for easy connectivity to other applications
- Contains embedded SQL for powerful data querying
- Powerful geographic operators and functions
- Customise MapInfo Professional
MapBasic is a robust, structured BASIC-like language that enables both experienced and novice programmers to create powerful new desktop mapping applications.
Build Custom User Interfaces
As desktop mapping applications have become more widespread in organisations, the need to build custom applications becomes greater. Custom programs deliver powerful features in an easy-to-use package because the power of desktop mapping can be focused on the particular task. MapBasic can customise menus, toolbars, and dialogues to make turn-key solutions to solve specific business tasks.
Desktop mapping is most useful when it is integrated with other business tools. MapBasic allows you to connect your applications with MapInfo.
You'll be able to use your data from client/server databases, communicate with other applications and share data with other programs.
MapBasic supports OLE automation and DDE so you can easily communicate with other applications. For example, add a button to your Visual Basic application to display a map (and have MapInfo take care of the mapping functionality.)
MapBasic supports ODBC database connectivity standard for connecting to databases.
Extend MapInfo Functionality:
Unlike a scripting language, MapBasic is a multi-platform, procedural, event-driven, compilable programming language built around MapInfo. This architecture allows you to create additional features not in MapInfo off the shelf. For example, you can add sophisticated models for planning cellular antenna locations. MapBasic has powerful built-in geographic statements and functions. A subset of the full ANSI structured query language (SQL) set is built-in so you can use industry-standard commands to manipulate data.
Easy to Learn:
Built on BASIC, MapBasic has the familiar functions and statements. MapInfo has a special window which lets you see MapBasic commands being generated as you use MapInfo's menus and you can try out your own commands. This way you can learn MapBasic commands and even cut and paste them into your application. CDR Group also run full training courses in MapBasic and offer one to one help on specific application building.
MapBasic is a compiled language. The compiled programs you create are run inside MapInfo or special runtimes. MapBasic has facilities to handle significant programming efforts. It supports project files, which allow you to compile and link separate modules.
Statements and Functions:
MapBasic contains over 300 statements and functions including:
looping, branching sub-procedures, user-defined functions, calls to external DLLs, event handlers, error handling, OLE Automation, DDE control.
Create new menu bars, menus or menu items, remove items from existing menus. Create or modify buttons on tool bars. Create custom dialogue boxes with text boxes, drop down lists, buttons, check-boxes, radio buttons, style pickers, select boxes. Show or hide standard windows, control events on selection, map window changes, window closure, window focus change, button push, or application termination.
local, global, numeric, string, logical, date, and object variable types, arrays, custom data structures.
Table and File Manipulation:
Use Excel, Lotus 1-2-3, xBASE and ASCII files directly. Built-in SQL commands to query, sort, aggregate, join, and create derived data. (Supports select statements with FROM, WHERE, ORDER BY, GROUP BY clauses with sub-selects). Supports equi-joins and geographic joins. Commit changes, roll-back changes. Connect to data via ODBC. open, close, read, write to ASCII and binary files.
Geographic object manipulation:
create points, lines, polylines, text, polygons, buffers, etc. Edit and manipulate objects including reshape, object conversions, split, combine, erase. Calculate area, perimeter, length, centroid, area overlap. Modify object styles. Display maps from multiple layers, control display settings, create thematic maps. Find and geocode objects. Supports multiple coordinate systems.
Thousands of MapBasic applications have been created to solve business problems in virtually every industry sector. Hundreds of applications are listed in MapInfo's application catalogue available for resale.
Newer versions of MapInfo Professional can run applications created with older versions of MapBasic; however, new features in MapInfo Professional can only be accessed with a matching version of MapBasic.
Requires MapInfo Professional v 12.0. MapBasic is available for: Windows XP Home & Pro and Windows Vista and Windows 7.