3
votes
1answer
176 views

No placement inside feature dataset using arcpy XYtoLine?

When I run the following code with the outFC creation path set to a feature dataset inside a file geodatabase... arcpy.XYToLine_management(tempFC, outFC, "POINT_X", "POINT_Y", "NEAR_X", "NEAR_Y", ...
2
votes
3answers
2k views

Spatialite in .NET Application - AccessViolationException was unhandled

I am trying to use Spatialite in a .NET application using the System.Data.SQLite provider. Interestingly enough, everything works as expected except an error gets thrown at the very end when the ...
2
votes
2answers
2k views

Querying MapServer using WFS functionality

I'm trying to display a shapefile using OpenLayers and Mapserver. Instead of overlaying it as a png, I want to return a vector, in this case a KML file. My HTML file (located in the same folder as ...
2
votes
2answers
1k views

ArcGIS10 Trace tool not honoring classic snapping

I have just installed service Pack 3 for ArcGIS 10 Desktop. Normally I use the new snapping environment, so I am unsure whether this is a new issue with SP3 or if it has been the case the whole time. ...
1
vote
1answer
266 views

Dynamic defining of transformation type for ISpatialReferenceFactory.CreateGeoTransformation call

Suppose given a point (IPoint) in some coordinate system. Required to transform it to another coordinate system. If both of coordinate systems are predefined, we can use IGeometry2.ProjectEx with ...
3
votes
2answers
429 views

Using IRelQueryTable

I create a RelQueryTable like this to join a GeoFeatureLayer to an external table. Everything seems to work (no errors, I can look in the table and see the correct fields.) Silly question: what do I ...
6
votes
2answers
1k views

Shortcut to copy current cursor coordinates in ArcMap

Is there a shortcut or an extension to ArcMap 10 that would allow me to quickly copy (to clipboard) the coordinates at the current map position/click? I could implement such a functionality easily ...
2
votes
4answers
707 views

Where can I find a shapefile of zoning for the city of Phoenix and other municipalities?

Where can I find a shapefile of zoning for the city of Phoenix and other municipalities? I would rather not have to geo-reference a picture and digitize over it, there must be some data already out ...
1
vote
1answer
523 views

Move Extent Locator Display python error

I am trying to use ESRIs generated python code to move around my Extent Data Frame based on location of my Main Line shapefile, as to not have the Data Frame over top of the main line when developing ...
3
votes
2answers
712 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
461 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
748 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
991 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
447 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
575 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
592 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
755 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
478 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
447 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 ) ...

15 30 50 per page