1
vote
1answer
511 views

How to set a color for a rectangle?

I had drawn a rectangle by adding element to graphics container like the code below: IGraphicsContainer gc = mxDoc.FocusMap as IGraphicsContainer; gc.Reset(); IRectangleElement rectangleElement = new ...
4
votes
1answer
3k views

How to List field name aliases in one shapefile/layer using ArcPy?

I want to use arcpy/python to print out a list of all the field name aliases for a specified shapefile. So far I have been able to hack a script I found to list all the field name aliases associated ...
6
votes
1answer
534 views

NYC Subway Line Station Order?

I've currently got data on the NYC subway stations (including name, position, and how many people entered and existed during a timeframe). Also, I have the data on which stations have which train ...
0
votes
0answers
139 views

Does the Calculation of Spatial Weights Matrix in ArcGIS take into account 3D?

This question is about Spatial Weights Matrix in ArcGIS. Does it take into account 3D or not? I want to calculate Spatial Weights Matrix with SPACE_TIME_WINDOW. Anton
2
votes
1answer
88 views

Different typesets for labeling within one project

I'm searching a way to show labels with a western typeset, as well as a differnt one. In my case thats western (English/German/...) PLUS Russian, which I don't speak at all. But I'd like to be able ...
0
votes
0answers
134 views

Can osm way records in SQL spatial be merged to one geographic record if they have same Id?

I've imported England shp file of roads to mssql using OSM2MSSQL and I've noticed that the same road has couple of records with same Id but different geographic (probably it was segmented). Is there ...
3
votes
1answer
4k views

Calculating incidence angle of polyline?

How can I calculate the angle of each polyline in ArcGIS?
6
votes
5answers
6k views

How to calculate distances in a point sequence?

I'm looking for help calculating the distance between a sequence of points that are in a single Shapefile in QGIS. Below is what my data look like and a blank distance column I've added to show how ...
6
votes
1answer
4k views

How to find and delete identical points?

I recently performed Integrate on a merged point feature class in ArcGIS 10.1. I specified "1 meter" XY tolerance for the Integrate command. The resulting point feature appears to be what I want ...
1
vote
2answers
190 views

How can I find an OSGB six-digit code's bounding box?

How can I convert Ordnance Survey six-digit codes to the latlng bounding box of the related 1km grid square? For example, NH0325: according to Wikipedia this means a 1km square whose south-west ...
2
votes
1answer
981 views

How can I use QGIS to convert points with elevations to DXF?

I'm trying to convert points (with their elevations) into a dxf file for use in AutoCAD LT. I've tried "save as" to dxf for the layer, which appears to almost work...the dxf has x and y location ...
3
votes
1answer
1k views

Where is the reference for functions available in CartoCSS

I'm playing with Tilemill and i see that for some properties, like marker-transform, i can use functions. I want to use rotate() which takes 3 arguments (i learned this by inputing just one so it ...
3
votes
2answers
2k views

How did QGIS fix a shapefile's character encoding, and can I do this on the command line with ogr2ogr?

Solved: I'm not sure why, but it works fine if I specify --config SHAPE_ENCODING "ISO-8859-1" in my ogr2ogr command. For whatever reason, this allowed ogr2ogr to go from the original TigerLine ...
5
votes
0answers
375 views

Plugin Workspace: when to close an OleDbDataReader?

I'm developing a plugin workspace for ArcGIS. Internally, the plugin uses an OleDBconnection. All of the sample code I see seems to stress the importance of closing and disposing the connection. ...
5
votes
2answers
1k views

Why do I get “Failed to transform” when reprojecting from WGS84 to Google Mercator?

I am attempting to re-project a vector shapefile from Natural Earth, following a qgis tutorial. Another user reported this error, but a solution has not yet been reported. Given this post, and the ...
4
votes
1answer
153 views

Cannot use SnapAgent alone?

I'm trying to use a standalone snap agent. Is that not possible? Here's some code: // instantiate these agents. _snapSupportAgent = new FeatureSnapClass(); ...
0
votes
2answers
1k views

Mapserver MapFile label at polygons, how to say “not repeat”?

I am using Mapserver v5.6 and used MapFile with 2 layers. One layer to show polygon and other to show label at ST_PointOnSurface of the same polygon... There are another way to show unique-label at ...
5
votes
3answers
882 views

How to calculate runoff in Rainfall Analysis?

I have 30 years daily rainfall data. How can i calculate the mean monthly runoff, minimum monthly runoff and maximum monthly runoff with the available rainfall data using GIS? I would like to use ...
1
vote
2answers
2k views

OSR Python testSR.ImportFromEPSG(4326) returns empty spatial reference

This is empty using Python .ImportFromEPSG(4326): import osr #this fails: testSR = osr.SpatialReference() testSR.ImportFromEPSG(4326) print testSR.ExportToPrettyWkt() #why did the import from EPSG ...
2
votes
1answer
435 views

How to create multiple dockable windows?

I am building an add-in and I have several different windows, which I open with the code below. This works fine. However, how can I create the same window n times? UID dockWinID = new UIDClass(); ...
1
vote
1answer
809 views

Real time GPS data sources [duplicate]

Possible Duplicate: Sources of realtime spatial data Wondering if there are any free real time GPS feeds available for consumption. I am preparing a presentation about GIS and I thought a ...
9
votes
1answer
205 views

The role of '#' in a python 'if':

I recently exported an ArcGIS model to python and was reviewing the script and am confused by the following line: if TRU_W_DatableFeatures == '#' or not TRU_W_DatableFeatures: I can't seem to find ...
11
votes
4answers
3k views

How to colour polygons with a completely transparent fill using MapServer?

Is it possible to fill polygons so that they are completely transparent in MapServer? I want to have a black background that is slightly opaque, and wherever there is a polygon I want that to be ...
1
vote
0answers
42 views

area weighted average for overlapping polygons [duplicate]

Possible Duplicate: How to use NASS county level crop data to estimate crop acreage in hydrologic regions? It seems like an easy problem but I don't know how to go about it. I have two ...
6
votes
1answer
293 views

How to analyze census data and display on map (shape file) in ArcGIS

I have shapefiles representing a country, states of that country or towns etc... For each shapefile there is associated data with them. The country shapefile has 100 rows and maps to .csv files with ...
0
votes
0answers
98 views

Problem with specific arrivals and departure time in Google transit

I am developing a transit app and using Google transit GTFS structure. So for table stops_times.txt i have to specify the arrivals and departure times of bus. But in my case buses doesn't have ...
6
votes
3answers
4k views

How to read Greek fonts (ISO-8859-7) in shapefile attributes within QGIS 1.8.0?

I'd like to ask whether there is a way to read greek fonts in a shapefile's attribute table within QGIS 1.8.0.
4
votes
1answer
6k views

Field Calculator VB Script Codeblock IF statement syntax is wrong?

I can't figure out why the syntax is wrong in Field Calculator ArcMap 10. The complete codeblock is Dim CapitalDia As Number Dim TwagDia As Number Dim X As Number CapitalDia = [New_Pipe_S] TwagDia ...
0
votes
1answer
125 views

Creating report and inserting comma at end of it in ArcGIS Desktop?

When I run a create report and want to use the comma when you want to sum the acres ? Is there a way around to do that ? Here is the attachment where I use the yellow highlight. It is so much ...
6
votes
1answer
1k views

Python equivalent of gdalbuildvrt

Is there a way to perform the same task as the gdalbuildvrt utility using GDAL Python bindings? So far I have not found any way to do this other than creating a vrt of a single dataset and manually ...
1
vote
1answer
368 views

How to Connect OpenLayers Map to non-GeoServer / PostGIS Setup?

I apologize in advance if my question is unclear - I am afraid I do not understand all of this quite well enough to form my question precisely, but I will give it a shot. I recently managed to get an ...
3
votes
1answer
199 views

Button to add a new line in a non-spatial table without opening the table itself using QGIS?

While using QGIS and having loaded a non spatial table (from PostGIS), is it possible to add a new row to its table attributes without having to open the attribute table first as in here Is it ...
5
votes
2answers
2k views

How to improve speed of Export to PDF by ArcGIS for Desktop?

I am working with the Fire Station Wall Map template in ArcGIS 10.1. My export to PDF is taking upwards of 30-45 minutes. Using the default PDF settings in the export menu. My map is 60" x 36" so ...
0
votes
2answers
113 views

Unique and Range value symbology in Arc Desktop 10.1

I am facing a issue in which i have to give symbology depending on unique value of one attribute and range value of another attribute. That is symbology on gender and age. like symbol1 - ...
1
vote
2answers
210 views

Generate straight lines between river confluences using ArcGIS Desktop?

I have the shapefile containing polylines that represent the river. I need to draw generalized straight line approximations of stream lines. River lines have the following attributes: river_id is ...
3
votes
3answers
489 views

Creating feature dataset by pgAdmin (PostgreSQL) that can be useD in ArcSDE connection?

How to create feature dataset in PostgreSQL (pgAdmin) that can by use in ArcSDE conection (ArcGIS)?
2
votes
1answer
116 views

Looking for opensource projects for mobile offline trip planning for public transit and walking routes

I'm looking for initiatives pursuing mobile offline trip planning using a combination of public transit data and walking-routes. Thus far, without much success. Osmand, seems to be closest, but the ...
9
votes
4answers
469 views

Google Maps and Search for KML URL

Can anyone tell me how I could add the functionality as seen on google maps that allow users to specify a URL to a KML file in the search bar? I would like to include this in my own embedded map but ...
2
votes
1answer
112 views

Whats steps can I suggest to achieve the best Geolocation Result

We are using Geolocation (getCurrentPosition()) in a website to determine a users position when using our site from a mobile device. I want to write an article explaining how the user can obtain the ...
1
vote
0answers
96 views

History of the web map tile

I'm looking for a brief history of a 256x256 web map tile, in particular who used it first (came up with the idea) and who popularized it. Thanks!
4
votes
2answers
374 views

Join two lines in one line

I have an array of Lines and I am using it to draw vectors in my map. I want to replace two superposed Lines (or have short distance between them) with one Line. Here is a picture that helps you to ...
2
votes
1answer
635 views

Why does Geoserver not serve my primary key/ id?

I have a postgres/postgis table with the columns: gid [PK] serial NOT NULL, geom geometry(MultiPolygon,900913), crop text My layer in Geoserver however only shows me the feature types "geom" and ...
2
votes
1answer
149 views

d.rast.edit error when attempting to edit a raster

I always get an error when I try to edit cell values in a raster with the GrassGIS command „d.rast.edit“. The error under Windows XP/GrassGIS 6.4.3 says: Exception in thread Thread-29: Traceback ...
3
votes
1answer
537 views

Which type of File Geodatabase format to use?

What is the practical difference between fgdb API format and fdgb ArcObjects in FME? When to use each of them in FME? Thank you.
2
votes
1answer
669 views

How to bulk delete shapefile columns?

I have shape-file with next attribute table: - name of features, unique number for each feature of layer I must split shape-file by NAME field, but in result in attribute tables of layers should be ...
1
vote
0answers
117 views

How to indicate a change in transport mode for directions in a multimodal dataset

When I solve a route and generate directions for my multimodal dataset, the end product is not very user friendly: The pedestrian started walking along Main Street and then boarded a bus to travel ...
2
votes
2answers
732 views

To import bulk data in google fusion table

I want to import bulk data into fusion table . What is the best data format should I use to import data i.e JSON ,CSV . If I want to import data in JSON format how can I do it since on google help ...
0
votes
1answer
1k views

Spatial index grid size is invalid

I am trying to move a point feature programatically, but on stop operation, I am getting this error : spatial index grid size is invalid Kindly help. Regards
6
votes
2answers
4k views

How to remove duplicate point features?

I have created many .gpx datas with my Garmin device, but due to the amount of data, I have imported the mapping data from my device several times (also because I didn't want it to be lost)... As a ...
4
votes
2answers
238 views

Where can I find the freeware ST-Links PgMap?

I am trying to connect to a PostGIS database from ArcGIS Desktop 9.3.1 Some web-searching suggested that zigGIS would be useful. Unfortunately zigGIS has reached the end of life, and the author of ...

15 30 50 per page