3
votes
2answers
714 views

How do you get access to a Network Analyst layer item in ArcPy?

I have a Python script that I'm working on. I have created a Closest Facility layer (in memory). I add facilities. I add incidents. I perform the Solve. These all complete. The only problem is, ...
1
vote
1answer
463 views

Creating JPEG images of geoprocessing output using ArcObjects?

I'm running batch processing on several datasets using a standalone EXE written in .NET. There are many output files for each dataset (>25 featureclasses/rasters). For every dataset I would like to ...
3
votes
0answers
359 views

Problem refreshing GroupLayers in ArcScene (ArcObjects 10 .NET SDK)

The functionality I am seeking is to add a FeatureLayer (containing some data from a file selected for import) inside of a GroupLayer collecting all of the data from that particular source. The logic ...
2
votes
2answers
737 views

How to set right coordinate system?

I have shapefile (points) which I got from adding xy data in ArcMap from Excel table. I had Latitude/Longitude data. It is area of northern Australia. For example (5 points): Longitude 136.882 ...
5
votes
1answer
521 views

Creating a User Defined Point Grid

Im trying to write some code (in C#, but any language will do) where the user defines and area, based on Min/Max Long/Lat's, and specifies a distance between points in meters, and the code returns a ...
6
votes
2answers
765 views

Can I change the GDAL/OGR library that QGIS uses?

I have been adding a new format to OGR, all seems well and OGRInfo works. Now I would like to test my code out using QGIS. Is there an easy way to switch which GDAL lib QGIS uses on a windows box? ...
1
vote
1answer
521 views

GeoExt printPage cannot handle WFS vector features

I recently added the print function to my GeoExt web application, using <script type="text/javascript"src="http://localhost:8080/geoserver/pdf/info.json?var=printCapabilities"></script> ...
21
votes
3answers
4k views

What do I need to know, to develop a plugin for QGIS?

I wish to develop a simple plugin for QGIS, which will open some data, and some specific processing. I have quite a it of development experience with ESRI's Arcojects, but haven't developed with QGIS ...
1
vote
1answer
360 views

How to convert SQL Server Rasters to ASCII Grid?

I have 25km by 25km squares of the world in a relational database. Each square has coordinates for the top left and lower right corner as latitudes and longitudes. Each square also has an index ilat ...
6
votes
1answer
1k views

Counting records that match attribute from another feature class?

I have geometry feature class of states that I would like to build a choropleth map from by using the quantity of people in that state. However, the data of what people in what state is in seperate ...
1
vote
1answer
124 views

For ArcGIS tool can Illustration of Item Description be used as Thumbnail in Contents of Catalog window?

I've made a Python script tool using ArcGIS Desktop 10.0 SP2 and have accessed its Item Description to Update its Illustration by browsing to a *.png file. The expected Illustration then appears in ...
13
votes
5answers
1k views

What iOS (iPhone/iPad) app from the App Store can I use to collect data?

What iOS app from the iTunes App Store can I use to collect data (mainly points, perhaps photos) and later import them into my GIS? I am mainly interested in an out-of-the-box solution, not develop ...
3
votes
2answers
4k views

Is there a way to limit the overview map to a certain zoom level?

The OpenLayers overview map control works great when I use standard options. I would like to limit the overview to one resolution, but I can't seem to find the right combination of values for the ...
6
votes
1answer
2k views

What's up with the GeoJSON spec and CRS as a IRM?

I'm writing a web API to our GIS data, currently revamping our geocoding service. I'm creating the option for folks to specify the output type as GeoJSON so I'm trying to follow the spec. Our data is ...
2
votes
1answer
269 views

How to keep (complex) color table when exporting from GRASS

I understand how to work with color tables within GRASS - but is there any way to preserve color tables when opening the raster in a different program? For example, I created a color table in GRASS ...
1
vote
0answers
82 views

Compound Key to Relationship

If tableField = "Process ID" and layerField = "PID" then this works: IRelationshipClass relationshipClass = memoryRelationshipFactory.Open( "Join", table as IObjectClass, tableField, ...
4
votes
1answer
749 views

Raster Calculator dynamic map algebra expression

Is it possible to dynamically construct a Map Algebra expression that is dependent on the output of another tool, either using model builder or arcpy? For example, say I have a model that performs a ...
3
votes
1answer
1k views

How to calculate accuracy of latitude/longitude

I'm updating a Windows Mobile application to capture location information using the built-in GPS hardware. The Microsoft API provides a method GPSGetPosition that returns the following struct ...
3
votes
2answers
992 views

Multiline VBScript Label Expressions in Arcpy

I am able to set simple label expressions, but when I try to set multiline expressions (which all VBScript expressions are) it does not get copied into the expression box properly. I have tried using ...
2
votes
1answer
1k views

Trying to instantiate geoprocessor with .Net vs 2010

Retrieving the COM class factory for component with CLSID {5374EC4C-1AA2-4829-A811-DE624ECEC23F} failed due to the following error: 80040111 ClassFactory cannot supply requested class (Exception from ...
1
vote
1answer
1k views

Mapserver/PostGIS Query Error

I'm having some difficulty understanding the error I am getting from my mapserver/postgis program. I have the following map file: MAP # start of map file NAME "sample" EXTENT ...
6
votes
1answer
527 views

What is an IFeatureClassName?

I'm currently attempting to export a selected set of data from a feature class in a database to another database as a new feature class. I understand everything perfectly right up to the ...
3
votes
2answers
448 views

uniquely identify feature classes & compare them for equality

I want to implement EqualityComparer<T> for feature classes so that I can stuff them into a Dictionary or HashSet. For motivation, say that I am looping over many IFeature objects which belong ...
7
votes
3answers
1k views

Does anyone know how to install the Orfeo Toolbox in QGIS?

I already tried this http://hg.orfeo-toolbox.org/OTB-Qgis-plugins/ repository and couldn't get it... This guy seems to have it: http://www.elance.com/samples/orfeo-toolbox-qgis/24111664/ Help, ...
2
votes
1answer
3k views

Basic MapServer query of PostgreSQL/PostGIS database

I've just installed MapServer on a linux server and I am trying to understand how to display a basic map using a PostGIS database. I have displayed a shapefile in the browser, so I know that the ...
1
vote
0answers
432 views

Create WFS with Mapguide Studio Enterprise 2011

i need create a WFS with MGS 2011, i used the help users mapguide for create the WFS but that didnt work, can anyone help me please? i am new in this tecnology.
7
votes
1answer
2k views

How to convert Shapefile geometries to WKB using OGR?

I got the geometry of a feature of the shapefile, and i want to save that geometry in the postgis (in WKB formats like it happens when we import shapefiles using shp2pgsql and psql commands). How do I ...
3
votes
2answers
706 views

How to get all features in current extent

I like to add text information to each feature in the shown map extent in my MapControl/PageLayoutControl. Adding the text is not a problem, but I couldn't find a way on how to get the features. Is ...
4
votes
2answers
576 views

Which are the best open source tools/solutions for digitizing road networks?

I was thinking on tools/plugins for QGIS, but other good suggestions are welcome.
17
votes
3answers
11k views

How to encode shapefiles from LATIN1 to UTF-8?

Is there a way to encode shapefiles from LATIN1 to UTF-8?
3
votes
2answers
2k views

Workflow for creating line features between two coordinate pairs in QGIS

I have a table of stream reaches with xy coordinates for their respective tops and bottoms. I'd like to convert the table to a feature, using the xy coordinates as the endpoints of the line. Any ...
2
votes
1answer
372 views

Error while importing shapefile using shp2pgsql: Coordinate values are out of range

I have a shapefile with 180 points. I'm using shp2pgsql-gui via pgAdminIII. This is an error it gives me when I try to import shapefile. Failed in pgui_exec(): ERROR: Coordinate values are out of ...
11
votes
1answer
593 views

Nearest Neighbor Grouped Selection in QGIS

OK - so I have an interesting problem I am trying to solve. I have a list containing over 100,000 points in lat/long format which I have imported into qgis. Now, what I am trying to do here is group ...
6
votes
2answers
756 views

Display map scale (like 1:20.000) next to ScaleBar

In my PageLayoutControl I add a ScaleBar. Additionaly I like to show the map scale/ratio (e.g. "1:20.000") next to it, but didn't find a way to achieve this with the ScaleBar. Am I missing something ...
3
votes
2answers
4k views

Why does QGIS scalebar show a wrong scale?

I'm using QGIS 1.7.1 and have added a scalebar. The scalebar usually displays in degrees, unless I switch the map's projection to meters, in which case the units are display in cm. This is not ...
6
votes
1answer
479 views

How does OpenLayers determine a layer's projection?

Could anyone explain the strategy OpenLayers take to determine the layer's projection? For example, if I didn't explicitly specify any projection for a marker layer, what projection would the layer ...
5
votes
5answers
3k views

Volume of water in basin with reference to incremental height of DAM?

I have a DEM of my area. I did watershed analysis with Arc Hydro. I want to calculate "Volume of water in a basin with reference to incremental height of DAM" Is there any method, tool to give ...
3
votes
2answers
1k views

Ensure relative path in Arcgis layer files

I'm looking for the arcgis python equivalent of the VBA How to save a layer file with a relative path. I'm using a script to change the paths in a collection of about 75 layer files before ...
4
votes
1answer
449 views

How do I display null data in a choropleth?

I am working in ArcMap and I have created a choropleth map (using a "population" attribute) that is rendering things basically correct except that when the "population" attribute is null, representing ...
5
votes
2answers
5k views

How to create a WMS Service to display a geo-reference image

I currently have little experience in the opensource area and I'm guessing this is where I need to go if I want to create a WMS Service without needing ArcGIS Server. Basically my goal is to take a ...
1
vote
0answers
154 views

Proj4js can't handle 90/180degree transformations from 4326

So if you try to do a transform like this Proj4js.transform( new Proj4js.Proj( 'EPSG:4326' ), new Proj4js.Proj( 'EPSG:3857' ), new Proj4js.Point( -180, -90 ) ...
3
votes
1answer
900 views

Why is Openlayers KML-layer undefined when using permalink

I am working on Openlayers to dynamically load KML tracks on map. I want it to load filtered KML everytime map is moved or zoomed based on viewport and zoom level. I got it working with code below, ...
6
votes
1answer
213 views

What is the definition for a geographic coordinate system with east/west bounds of 0 to 360

I need the coordinate system reference or a projection definition that uses geographic (i.e. lat/lon) coordinates but instead of east/west bounds being defined as 180 to -180, I need them to be ...
3
votes
2answers
1k views

Forcing decimal numbers to use comma in ArcGIS Field Calculator?

Can I add the comma "," to force the decimals to remove from the attribute and replace with the number? For example, I have an Acres field column that says 506320.0750 and I want to replace the ...
4
votes
1answer
4k views

GeoServer Web Feature Service (WFS) in Open Layers Problem

I am running GeoServer 2.1.1, and have a datastore from ArcSDE populated with features projected in EPSG:26918. I can successfully add a WMS to an OpenLayers map, but am having issues with WFS. I have ...
6
votes
5answers
2k views

3D subsurface modelling

I am a student and initiating a thesis project for MS specialize degree in geophysics. I am working on tectono - stratigraphy of some area and want to do the 3D subsurface modelling of the same area ...
4
votes
1answer
1k views

Can I view ArcScene 3D models in a free viewer such as ArcReader or another 3rd party viewer?

I would like to build a complex 3D model in ArcScene, export it and send it to someone else that does not have ArcGIS with 3D Analyst. The idea is to interactively navigate the model during a ...
9
votes
3answers
3k views

How to get hypsometric curve from elevation data?

I have my elevation data but cannot make an attribute table from it and so I'm not sure how to get any of that data into a table in order to make a hypsometric curve.
1
vote
1answer
219 views

Missing level for cache map service

I am having this issue where caching is missing one of the levels (level 13). I am trying to find out how to resolve this issue. L9 - 1,155,581 - OK L10 - 577,790 - OK L11 - 288895 - OK L12 - ...
5
votes
4answers
2k views

Creating perpendicular snapped polylines between an existing point and polyline using arcpy

Here's my situation - I'm working on a project that requires 20,000+ short connector lines be created, each drawn from a point to a snapped location on a nearby polyline such that the resulting ...

15 30 50 per page