Directions Magazine
Hello. Login | Register

Geospatial Files and Tools

Browse | Search | Submit File | Your Files

Code Samples

< Previous Page 2 of 4 pages Next >

ERROR HANDLING

Added: May 2nd, 2003 Total Downloads: 1058
This toolbox demonstrates different error types and ways to handle errors. The toolbox illustrates how to: Handle errors produced by a function such as ClickCoord() Define special error handers

CREATE FIGURE

Added: May 2nd, 2003 Total Downloads: 1129
This macro demonstrates use of the CreateFigure() macro function which is used to create charts (line, scatter, bar, pie, etc.). The function itself takes only three arguments: the desired figure...

ADD ANNOTATIONS

Added: May 2nd, 2003 Total Downloads: 1422
This macro demonstrates the use of the AddAnnotation() function. The macro illustrates how to: Add different annotation types Use different styles for the different annotation types You can...

WRITE FORMULA

Added: May 2nd, 2003 Total Downloads: 1065
This macro writes a text file with a list of formula fields and their expressions for the current layer. The file is written to the C:temp folder. The macro illustrates how to: Open, write to,...

STYLE EDITORS

Added: May 2nd, 2003 Total Downloads: 1172
The style editors are toolboxes for working with colors, fill styles, and line styles. They can be opened directly, or by using the Style Editors toolbox, which has a button to open each toolbox....

MARK DUPLICATES

Added: May 2nd, 2003 Total Downloads: 1006
This macro marks as duplicates any records that have the same value in a field as the first record with that value. This macro illustrates how to: Loop over the records in sorted order. Read a...

IMPORT BNG SHAPEFILES

Added: May 2nd, 2003 Total Downloads: 942
This resource file demonstrates how to import all the Shapefiles in a directory where all such files have a common coordinate system (in this case the common coordinate system is the British National...

CLICK COORDINATE DMS

Added: May 1st, 2003 Total Downloads: 1574
This toolbox displays the clicked point in degree/minute/second format. The toolbox illustrates how to: Get a coordinate from a user click on the map Get longitude and latitude in degrees,...

ADD CIRCLE

Added: May 1st, 2003 Total Downloads: 1848
This toolbox creates a circle (ellipse annotation) of a user specified diameter at a clicked point. The toolbox illustrates how to: Add tools to a toolbox Use GISDK functions such as the annotation...

TreeView

Added: April 24th, 2003 Total Downloads: 1010
The code below will generically handle and size TreeView, programmatically determining and indicating the label text and whether the item is a "folder" level or a discrete item. It is...

Redraw Map

Added: April 24th, 2003 Total Downloads: 1028
A small macro that puts a button on the screen that can be clicked to refresh the screen

CloseAllViews

Added: April 24th, 2003 Total Downloads: 1122
Some time ago I worte the follwoing macro to close all tables in the Maptitude workspace and all layers in the current map or in the workspace. With a few additions it can be used to close all...

ZERO TO NULL

Added: April 11th, 2003 Total Downloads: 1028
This macro finds values of zero in numeric fields and changes them to null. It illustrates how to read records in a dataview, get values for some or all of the fields in a record, check and change...

TRAVELOGUE

Added: April 11th, 2003 Total Downloads: 1002
This add-in lets you click on a map feature and view or print a set of pictures for the feature. When run, it displays a toolbox with a View Tool and a Print Tool. When you press the View Tool and...

STYLE SAMPLER

Added: April 11th, 2003 Total Downloads: 937
This add-in shows you how the various colors, area fills, line types, and symbol fonts look on your printer or plotter. Because the final colors produced by a printer or plotter often do not exactly...

POLYGON OVERLAY

Added: April 11th, 2003 Total Downloads: 1351
This add-in lets you overlay two area layers and create a geographic file of the intersected areas with a table of the percents of overlap. The table has the IDs for the new areas, the IDs of the...

MARKER MANAGER

Added: April 11th, 2003 Total Downloads: 959
The Marker Manager Add-In allows you to manage marker files. You can open an existing marker file, save chosen markers to a new file, delete markers from the open file, and append markers to an...

MAP INVENTORY

Added: April 11th, 2003 Total Downloads: 1131
This macro creates an inventory for each map open in the current workspace. Details for each geographic file are provided. Note that the text item detailing the file directory can be scrolled and...

MAILING LABELER

Added: April 11th, 2003 Total Downloads: 889
This macro creates 1" x 2 5/8" mailing labels. You can create labels for any layer or selection set, with up to five lines per label. Each line in a label can be specified as a value from a...

DBOX SAMPLER

Added: April 11th, 2003 Total Downloads: 1209
This macro displays a dialog box (dbox_sampler) that illustrates all of the user interface items that can be shown in a dialog box. Each item is displayed, along with the GISDK code used to create...

BATCH MAPS Add-In

Added: April 11th, 2003 Total Downloads: 1349
This macro prints a batch of maps based on chosen map features. It uses the map BATCHMAPS.MAP and files that are in your TUTORIAL folder. It displays a list of store names and addresses from a store...

ScaleLayout

Added: February 14th, 2003 Total Downloads: 2239
Mapbasic based tool to create a layout window with one frame containing the current mapper with a userdefined scale The application present you with a dialog, where you can choose scale, position...

pickdate-408.zip

Added: December 7th, 2001 Total Downloads: 1585
PickDate ver 1.0 PickDate is af example of using Delphi to make a dll. The dll is interfaced to MapBasic. PickDate shows a Modal form containing a DatePicker, a cancel- and a Ok button. The...

ca-400l.mb

Added: November 17th, 2001 Total Downloads: 2156
Calendar Dialog Box with code. The code contains a Main routine for testing otherwise this is a self contained module.

pickanresourceicon-398.zip

Added: October 26th, 2001 Total Downloads: 1731
Lets the user of your MB program pick a icons from a DLL resource file and then runtime build a custom MB buttonpad with the chosen button. Includes sample resource icon32.dll, a Delphi dll that does...

table_popupmen-383u.mb

Added: September 8th, 2001 Total Downloads: 2227
Code to have table data in a popupmenu control

utmconveter-380.txt

Added: September 3rd, 2001 Total Downloads: 2472
Generic VB UTM converter (LL to Nat Grid and back) class for UK - instantiates with values for OSGB on Airey 1830 but these properties can be changed. Also contains a routine to give bearings in...

colourconverter-379.txt

Added: September 3rd, 2001 Total Downloads: 1982
VB code to take RGB colour values and turn them to BGR - (and vice-versa) - also converts MI Pro styles to MapX style object. Offered 'as is'.

drawfern-372.zip

Added: August 13th, 2001 Total Downloads: 2111
MapBasic code (.MB and .MBX) to create an IFS fractal fern made of line segments. Source code included -- can be recompiled via MapBasic to draw other fractals by changing the affine transformation...

xlate-371.zip

Added: August 10th, 2001 Total Downloads: 2261
A VB project that uses the IMUT.EXE program to translate Shape files into MapInfo format. Included are the program files, Access support database, and base translation file.

< Previous Page 2 of 4 pages Next >

Stay Connected

Twitter RSS Facebook LinkedIn Delicious Apple Devices Android Blackberry






Recent Comments

Seven Principles for Creating a Successful GIS Internship Program

In an economy where job openings remain limited and new, unemployed college graduates are piling up, the prospect of bringing on qualified, low-to-no-cost intern labor has never been better. Matt Lamborn of Pacific Geodata provides seven tips for companies who need qualified labor but who are on a tight budget.

30-Second Pitch: Valarm
What’s new with JavaScript and geospatial - wrapup from the js.geo event
Privacy 2013 Style: Exploring New LBS Devices and Services
Attention Shoppers! aisle411’s Indoor Location App is a Hit with Top Retailers
US Topo - A New National Map Series, 2012 Update
Recent Developments in Remote Sensing for Human Disaster Management and Mitigation - Spotlight on Africa: An Overview
Drones: War machine today, helpful tool tomorrow - NPR Marketplace
Everything You Need to Know about Landsat 8

DirectionsMag.com

About Us | Advertise | Contact Us | Web Terms & Conditions | Privacy Policy
© 2013 Directions Media. All Rights Reserved