2
votes
1answer
716 views

How to add custom Icon to buttons on buttonpads in mapinfo?

I have made buttons with icons availabe in mapinfo but now i want to add custom icon. Is it possible my code is as follows: Include "icons.def" Declare Sub Main Declare Sub button_prompt Sub ...
4
votes
1answer
1k views

How to resize an infoWindow dynamically, based on the contents

How can I set the size of an infoWindow dynamically, based on the length of its Title, when the Title isn't known until the user clicks on a map feature? Take the map here as an example - how could ...
0
votes
0answers
58 views

Wrong location with result of VBscripting

I run Model Builder program's VBSCRIPT The results I receive is like the original input coordinates but when I export to the arcmap the distance between results and origin map is about 5000Km.... ...
3
votes
3answers
797 views

Should I start a new project using the Silverlight API?

I'm about to start a new mapping project for a client, and am considering using the ArcGIS Server Silverlight API, since it gives a lot of the required functionality out-of-the-box (especially with ...
0
votes
5answers
2k views

Layers fail to draw when generating tile cache in AGS

I recently created an MXD-based map service on AGS 9.3.1 SP2. The map seems to render fine as a dynamic service, but when I convert to a cached service and attempt to generate tiles, the operation ...
3
votes
2answers
2k views

How to list ActiveView SelectionChanged event delegates in ArcObjects .NET?

I currently have an issue in an ArcObjects ArcMap add-in where my event handlers are seemingly-randomly being unhooked from the event I'm trying to catch. I've spent some time looking for a way to ...
4
votes
4answers
585 views

Determine Projection

I was given a shapefile at work with the information that it is in Lambert Azimuth Equal Area (LAEA) projection (EPSG 9820). After some research on the web, I found out that EPSG 9820 is a generic ...
2
votes
2answers
180 views

Stacked point representation in KMLs

I cross posted this in the Google Earth forum but they changed the format there and I'm not sure I like the format. In my dataset I sometimes have multiple locations at a single point. GE will ...
3
votes
3answers
961 views

Vertical Datum Conversion Utilities

I have some data (points and rasters) that I would like to be able to convert to and from several vertical datums, including MLLW in coastal Florida. I would appreciate it if people could provide some ...
4
votes
4answers
6k views

Tool for converting .shp file to .tab file?

I am searching for any free tool which can convert ShapeFile (.shp) to MapInfo (.tab) file.
2
votes
3answers
830 views

Field calculator script not working

I am trying to do the following in the field calculator in ArcGIS 10 if [IncdStDir] = " " then [IncdStNo] &" " & [IncdStName] &" " & [IncdStSfx] else [IncdStNo] &" " & ...
6
votes
1answer
515 views

How to get a KML of Wikipedia POIs?

I'm looking at the possibility of using a kml layer in a 'geoserver' to provide attribute information on a point. Is there a KML file for the Wikipedia Places articles as it is used in Google earth or ...
3
votes
5answers
4k views

What are the elements that a good map should have?

I have drawn a map with some coordinate(longitude and latitude). What are good points that a map should have eg labels, legend, etc. Edit: The map if for the purpose of locating different objects ...
2
votes
1answer
639 views

Read .DEM (USGS) FIles with C#

I have a huge number of .DEMs and have been investigating how to process them into something useful. Does anyone know how, or even if it is possible to read coordinates and elevation data from ...
2
votes
1answer
2k views

Creating MBO files with MapBasic and Notepad++

[Note: I have been using Notepad++ (with some customisations as per this page), rather than MapBasic itself. This may make things a bit trickier, but so far the time saved in development has been ...
4
votes
5answers
295 views

Require a 3rd Party GIS service to embed in my application

I am looking for a service (Free or Premium) that allows offline access to maps and also gives the functionality to search map using an address or Latitude / Longitude. I want to embed it into a Web ...
4
votes
1answer
427 views

Performance of Picture Marker Vs Character Marker (font)

We have a point data type to symbolise. The feature classes can often contain more than 6000 points up to 20000. There are about 30 different symbol catergories to these points. My question is ...
2
votes
2answers
1k views

Is it possible to do server-side (WMS) rendering / caching of vector data

I have to develop a webapp that will have to display a large number of polygons on a webpage, with complex filtering options. The source data never changes (I will simply reload a new version of the ...
1
vote
2answers
2k views

What are the best ways to connect two coordinates on mapinfo?

I have with the help of this forum drawn a coordinate system with longitude and latitude at different location. I am trying to connect these sites what is the best way to connect. Is it just drawing ...
0
votes
1answer
746 views

How do you Convert a .sp1 file into a Shapefile

I was previously able to convert .sp1 files into shapefiles, but that was last February. I can only remember how to do some of it. How do you convert them into shapefiles ? These are preplot ...
2
votes
1answer
1k views

How to set the workspace to a featureclass from an unknown file gdb?

When a user loads an mxd, I am getting the IWorkspace object from the featurelayer's dataset: IFeatureClass featClass = (IFeatureClass)featLayer.FeatureClass; IDataset dataSet = ...
29
votes
3answers
110k views

Does Y mean latitude and X mean longitude in every GIS software?

Now it's been 3 days I am using Mapinfo and it has Y as latitude and X as longitude. Is that the same case for all mapping software? As for any country their respective value is multiple of 1 or -1. ...
5
votes
3answers
2k views

Deleting multiple vertices at once?

I have a polygon feature class that I've converted to representations so that I can delete some vertices. I'm doing this to simply some of the shapes manually, but I'd like to speed this up by ...
5
votes
3answers
374 views

Interactive “For each … Do” loop?

What is the most direct and straightforward, hopefully interactive, method to conduct a For each item Do... loop, where the input list is a selection of polygons? A word about "interactive". I'm not ...
0
votes
1answer
3k views

Query Feature using OpenLayers + MapServer

I'm trying to query a feature in OpenLayers, but it's returning just an image highlighted that is not possible to make zoom, pan and drag. My intention is to query a feature on the map like street ...
8
votes
2answers
556 views

ArcObjects diagram/object model?

Is there an existing object model diagram for ArcObjects? Something that can be printed out as a large poster.
5
votes
1answer
1k views

Automate export of ArcMap legends

I've been building legends for my javascript websites that use 9.3.1 services. I know there's the ESRI legend tool for older services but I don't feel that it does a good job of producing legend ...
5
votes
2answers
685 views

Access to SpatiaLite .dumpshp via Python?

I'm trying to interact with a SpatiaLite database via Python on my Windows machine. I've managed to connect to the database and load the SpatiaLite extension, which means that I can pass SQL queries ...
1
vote
2answers
609 views

How to import .flt files into GRASS?

I am trying to import a raster file (.flt) into GRASS. The raster file (.flt) was generated from HEC-RAS. The said raster format cannot be imported into GRASS (it shows the error "file not ...
12
votes
1answer
542 views

How is a “conformal latitude” used in ellipsoidal stereographic projections?

At my work, I've been doing some maintenance on internal software that claims to implement a Stereographic projection whose formulas were copied from an old system a long time ago. From what I've ...
2
votes
3answers
4k views

Code to convert WGS84 coordinates to British National Grid Easting/Northings

I'm looking for some code, ideally C#, to convert a WGS84 coordinate to British National Grid Easting and Northings. Does anyone have this to hand? I tried converting the Javascript code here: ...
2
votes
1answer
122 views

Is it possible to cancel a request for a KmlLayer, and load a different layer, before it is actually visible

Having asked for a google.maps.KmlLayer, and whilst waiting for it to load, is it possible to cancel the request? Calling layer.setMap(null); seems to causes an error if the layer is not yet visible. ...
4
votes
3answers
1k views

Add button to open URL in ArcMap 10

I want to be able to add a button into ArcGIS for my users, something like this: http://gis.utah.gov/code-visual-basic/vba-link-from-arcmap-to-google-maps Only, using VBA in ArcMap 10 now seems to ...
1
vote
3answers
823 views

CreateFeatureclass_management doesn't add a layer to the TOC of ArcMap10

I created a python script for a toolbox and I am wondering about the fact that CreateFeatureclass_management doesn't add the feature-class as layer in the actual dataframe. This does not happen in the ...
6
votes
2answers
1k views

Difference between two layers in PostGIS

What is the right way to calculate the difference between two layers? I tried to use the following approach: SELECT ST_Difference(river.geom, lakes.geom) FROM river LEFT JOIN lakes ON ...
0
votes
1answer
7k views

How to plot geographical coordinates in mapinfo?

I want to get started with mapinfo and plot some coordinates i.e latitude and longitute . How is it possibe?
0
votes
2answers
381 views

How do I add precise border with longitude and latitude for any country using mapinfo?

I have a plain image that I need to add international border with precise longitude and latitude but I have no experience with Mapinfo. How is it possible? Is there any way to import maps from Bing or ...
3
votes
4answers
962 views

How to preserve the original direction of NHD segments when creating a route using the gp.CreateRoutes_lr tool?

I am trying to figure out how to preserve the original line direction of NHD High Resolution data that I am selecting out and creating a route with. I'm using ArcGIS 9.3.1 and this is a python script. ...
1
vote
2answers
436 views

Adjust Picture Marker Symbols with Python? (ArcGIS 10 SP1)

I am working toward a map cache, and therefore have about 12 versions of the same datasets to be shown at different scales. Invariably, the symbol sizes I have set on highway shields (for example) ...
2
votes
1answer
1k views

Find distance from a point to linestring

I have table (shapetable) with my coastline shape file loaded. I have another table (pointtable) with lat long points. Wondering how would i go about writing a sql query to find the distance between ...
47
votes
4answers
14k views

Spatial clustering with PostGIS

I'm looking for spatial clustering algorithm for using it within PostGIS-enabled database for point features. I'm going to write plpgsql function that takes distance between points within the same ...
1
vote
1answer
655 views

When creating annotation from labels is it possible to feature-link another annotation layer?

I have an annotation layer that is currently being used in the flex viewer and I would like to add a secondary annotation layer/line so that it sits directly underneath the first. I am able to link ...
3
votes
2answers
469 views

Cannot persist to a blob field

Following this initial thread I'm having some problems implementing what was suggested here: Can I Store An ArcObject inside a BLOB? Well, following the link Kirk provided, I've came up with this: ...
2
votes
1answer
2k views

How to populate a field with the max M value of a feature using Python in Field Calculator?

I need to calculate the max M value for a line feature using Python in ArcGIS 10 Field Calculator but I cannot figure it out. In 9.3 I used the follow VBA expression… **Pre-Logic VBA Script Code:** ...
5
votes
1answer
358 views

Intersect between Surface and Ray

I am interested in finding the intersection of a Ray and a Surface in ArcObjects. I already know of two solutions. First solution is to use the Locate method of ISurface: Dim intersectionPoint As ...
11
votes
5answers
4k views

Looking for a Table of Contents sample for the ArcGIS Server JavaScript API

Where can I find an example of a Table of Contents control to plug into the ArcGIS Server JavaScript API 2.3? Ideally it should support feature/dynamic/tiled layers; show symbology; and allow grouped ...
3
votes
1answer
1k views

How can I execute my custom model's tools in VB.Net?

I want to execute one of my tools (which I created with Model Builder). I can execute a built-in tool by this code, but when I change the tool name with Model Tool Names it doesn't work. I gathered ...
3
votes
1answer
587 views

Is it possible to find the Map Services URLs used in ArcGIS Flex or Silverlight web applications?

With the ArcGIS Server JavaScript API, you can find the URLs in the map services in the source code. Do the Flex and Silverlight APIs completely obfuscate the map services URLs? As an example, the ...
7
votes
2answers
1k views

Is there a performance hit from using a Feature Dataset?

I vaguely remember being taught not to use a Feature Dataset to make things "look neat" in the database, and that the Feature Dataset should only be used when there was some sort of spatial ...
4
votes
2answers
324 views

Total newbie. Creating map from aerial photo of golf course in QGIS

I have a aerial photo in tif with a tfw file of the golf course that I work at. I would like to create vector data of different features on the course such as greens fairways tees, etc. to calculate ...

15 30 50 per page