The Stack Overflow podcast is back! Listen to an interview with our new CEO.
29

Since this question never gets old, I built a site that does the Brute Force method. If you drag a zipped shp+shx onto the map it will map it in every coordinate system available in PostGIS. Assuming you know what "correct" looks like, you can zoom to that area and click on the polygon to get the .prj file from epsg.io.


18

I really love this web tool: http://projfinder.com/ . Check your file and look up some coordinates. Zoom to approximately the same place on the globe and let it guess.


16

Not a tool (I don't know of one in existence that would let you do that), but check out @mkennedy's reply to How would I convert this point to WKID 4326?. She explains how she arrived at the correct spatial reference. SpatialReference.org and patience will be your friends. Additionally, Esri provides a guide on how to guess a coordinate system (though I ...


13

The best answer I've found to this question is non-technical: find out where your data came from. Agencies and organizations tend to be consistent with their use of projections. Know it came from your state DOT? Look at the rest of their data and see what it tells you. Don't know where it came from? An educated guess is just as likely to send you down the ...


11

Seriously outdated at this point, but Werner Flacke and Birgit Klaus posted Find Projection on ArcScripts in 2007. I don't think the source code is there, unfortunately. It's VBA-based so only usable in ArcGIS Desktop v9.2 and possibly 9.3. It does include two shapefiles with the areas of interest from the EPSG Geodetic Parameter Dataset which could be used ...


7

ICurve.ReverseOrientation should do what you want. Actually there is a full snippet Flip Line Direction Snippet , available in the ESRI online documentation. Here is a small extract from it: ESRI.ArcGIS.Geometry.ICurve curve = feature.Shape as ESRI.ArcGIS.Geometry.ICurve; curve.ReverseOrientation(); feature.Shape = curve; feature.Store();


7

Most of these recommendations are not open-source, but they are free and add a lot of useful functionality to ArcMap. Geospatial Modeling Environment - Written for ArcView (works with all licenses though), adds some functionality that is available in ArcEditor and ArcInfo. Not open-source (uses R, which is open-source though), but free. ET Tools (GeoTools, ...


6

Take a look at the following: Esri Migration doc Specifically Reference ESRI.ArcGIS.ADF.Local assembly Set ESRI assemblies Specific Version property Platform CPU target changes


6

It appears you have a setup project that is part of your solution. You might try having it run EsriRegasm, as described in Chris Garrard's blog post. When you build your project you'll also need to call EsriRegasm, as described here. <Target Name="BeforeClean"> <Exec WorkingDirectory="$(CommonProgramFiles)\ArcGIS\bin" Command="...


5

In addition to @jmhauck answer; because the application framework has changed in version 10 you might also consider just to build a new extension using the ArcGIS 10 SDK using one of the "Extending ArcObjects" templates and copy your functions and procedures from your legacy extension. More info on extending ArcObjects here


5

I got this book 2 weeks ago while browsing (again) for books covering your same question. Definitely worth purchasing. It's taken me a while to understand interface programming (that ArcObjects uses) but this guy explains it pretty well in Chapter 5. Lots of sample code and examples on how to create add-in's and extensions. The book covers 10.1 as well. ...


4

Try the ogrinfo program supplied as part of GDAL. See How to access Shapefile metadata using OGR? So ogrinfo might not give you the projection information without a .prj file, but it is still a useful tool to help you investigate the list of potential projections. For example: Geometry: Polygon Feature Count: 269 Extent: (320000.000000, 505000.000000) - ...


4

To add to the other responses in this post, I would add the following: How To: Identify an unknown projected coordinate system using ArcMap Provide a specific check on NAD1927 If the coordinates are in decimal degrees, such as between longitude -180 and +180, and latitude -90 and +90, identify the Geographic Coordinate System (datum) used for the data. ...


4

This is an free tool that connects Bing Maps and Sql Server spatial. http://ajaxmapdataconnector.codeplex.com/ Keith


4

I think this can be done in your implementation of the setter for IExtensionConfig.State. Since this gets called before the doc opens (and before the toolbar collection is initialized) your extension might need to listen to IDocumentEvents.OpenDocument and NewDocument. Accessing IDocument.Toolbars before one of these events has fired can cause problems.


4

If you are creating an extension that is only accessed from say desktop then consider developing an AddIn extension as these are much easier to deploy on client machines. If you are creating an extension that makes ArcMap talk to say MS Access then a standard extension (COM) would be required but then you have to register it with the OS and deal with admin ...


4

The answer is because you are editing in a parcel fabric. When editing in a parcel fabric, the OnCreateFeature and OnChangeFeature events do not fire. No explanation is given in ESRI documentation for why this is the case, but I suspect that it has to do with parcels being edited through a job XML stream. You aren't the only one to have this issue. See this ...


4

COGO it is only available for ArcGIS Desktop Standard and ArcGIS Desktop Advanced Matrix PDF http://www.esri.com/software/arcgis/arcgis-for-desktop/~/media/files/pdfs/library/brochures/pdfs/arcgis1021-desktop-functionality-matrix.pdf


4

You have eclipse workspace as it shown in Geoserver Developers Quick Start. Create new java project. Create new class: package org.geoserver.wms.cluster; import org.geoserver.wms.GetMapCallback; import org.geoserver.wms.GetMapCallbackAdapter; import org.geoserver.wms.GetMapRequest; import org.geoserver.wms.WMSMapContent; public class ...


4

It is not clear to me whether you are looking specifically for information on loading point clouds, or geometries in general. GEOS may not be the ideal tool for manipulating point clouds, but you can certainly transport a subset as point geometries. My example below uses a polygon, but the general strategy is geometry-agnostic. (I hadn't tried this before,...


3

To complement @Kirk's answer, to show and hide the toolbar, you can try using ICommandBar.Dock and use the esriDockToggle constant (64) from the esriDockFlags enumeration to toggle its visibility. Have not tried this myself so if it doesn't work try some of the other constants.


3

Yes. Use the ExtensionManager class.


3

You could take a look at Sextante which makes SAGA and GRASS functionality available through ArcGIS 10. You can also install SAGA separately and run it from ArcGIS using the command line. Both give you alternatives to a lot of Spatial Analyst type features.


3

Looks like you will need to install VS2010, perform a project upgrade, and set any referenced ESRI assemblies' Specific Version property to false. See here for more info: Migrating ArcGIS 9.3.x and 10 Desktop and Engine custom components to ArcGIS 10.1


3

In my experience with the Attribute Assistant, I found that you need to enter the actual field name not the alias in the FIELDNAME field of the DynamicValue table (e.g. ADDPTKEY instead of Address Point ID). Also, layer names in the TABLENAME field in the DynamicValue table should be the name of the feature class not what the layer is named in the table of ...


3

Personally, I only use iEditor/iEditor2 interfaces for edit sessions and edit operations. You say you are working on an ArcMap extension so you should use iEditor sessions/operations since it is available. (IWorkspaceEdit is a lower level interface for use when the Editor is not available - in engine environment see page 40 of presentation) I think you still ...


3

This is a 3rd party extension and looks like it was developed for 9.x. I checked their website and it is dead and xyzmap also appears to be out of business so you are out of luck on multiple fronts. It looks like there are licensing limitations in accessing Google's map tiles. An alternative is Arc2Earth but it is not free.


3

I would say that the real usefulness determined by you would be next best thing. I don't know what the ownership level is but I don't see a lot of questions or comments on the extension. Perhaps because the plts ext is used primarily in the military realm and they don't talk as much as we do. esri is pretty easy going with trials and a request is all it ...


3

In case anyone else comes looking for an answer.... Revisited this, and by persistence or dumb luck (no thanks to any documentation), I found something that works. When digitizing a new feature and finish the sketch, these events are triggered in this order: onStartOperation onCreateFeature beforeStopOperation onStopOperation onEditorSelectionChanged ...


3

ArcEngine doesn't work like ArcGIS Desktop. If you have the proper licensing for a functionality or extension (e.g. spatial analyst) in ArcEngine, then you can use the related Interfaces of that extension. ILocatorExtension, itself is dedicated to ArcGIS Desktop and can not be used with ArcEngine. With ArcEngine your should utilize : ILocatorWorkspace2 ...


Only top voted, non community-wiki answers of a minimum length are eligible