Tag Info

New answers tagged

2

According to the product engineer at Esri responsible for the Find Dialog, there is no way to customize the context menu on the result items of the "Features" tab: The Find dialog was refactored many releases ago so it could be reused in ArcReader, Engine, ArcMap, ArcScene and ArcGlobe. As a result the context menu for find features results doesn’t ...


0

Further to what Vince has indicated.. create a spatial reference with ISpatialReferenceFactory3 (CreateSpatialReference is the easiest) and then find out what it is. You have the SRID/EPSG code so create a spatial reference object and then test its type (ISpatialReference is implemented by both geographic and projected coordinate systems and also unknown ...


0

So this seems to be the correct way to check if a WKID is Projected or Geographic... public ISpatialReference getSpatialReference_byCode(int srid) { ISpatialReference spatialReference; ISpatialReferenceFactory sr_factory = new SpatialReferenceEnvironmentClass(); try { spatialReference = ...


0

Great answers above, but just wanted to add my voice to the choir :) ArcObjects has some (specialized) functionality that the ArcGIS Runtime SDKs don't provide: complex features, geometric networks, topology, annotation classes, etc. is designed for desktop deployments has a LARGE footprint (file size and memory) is based on COM technology and is ...


0

FYI (for others with the same issue), you'll find additional discussion here: https://geonet.esri.com/thread/162953


0

Turns out to be a path issue. With the C ogrinfo, I can put the shapefile layer filenames sans path in the OGRVRTLayer. If I then run the C# ogrinfo, it can't find those shapefiles. However, if I put the full path of the shapefiles into the OGRVRTLayer, then both versions successfully read the virtual source.


0

I suggest you to use this opensource library: GMap.NET - Great Maps for Windows Forms & Presentation GMap.NET is great and Powerful, Free, cross platform, open source .NET control. Enable use routing, geocoding, directions and maps from Coogle, Yahoo!, Bing, OpenStreetMap, ArcGIS, Pergo, SigPac, Yendux, Mapy.cz, Maps.lt, iKarte.lv, NearMap, ...


2

This can be easily achieved with QGIS (I'm doing this in 2.10) and the Atlas generator. Open up your shapefile in QGIS. Symbolise it as desired. Project>New Print Composer Add a map to the layout that covers the whole page. After the map is added, we need to set it as controlled by atlas (select the map and go into Item properties): Next we set up the ...


2

I recommend becoming familiar with ArcGIS's Data Driven Pages toolbar. Set up a map file to appear as you desire, and then add the DDP toolbar. Click Set Up Data Driven Pages. Update the layer drop-down menu with the layer you wish to iterate through. On the extent tab, you can set a margin (that 'zoom out a tad more' part of what you're after). Once you ...


0

Remove all other license checks and only retain Advanced level license: m_AOLicenseInitializer = new LicenseInitializer(); if (!m_AOLicenseInitializer.InitializeApplication (new esriLicenseProductCode[] { esriLicenseProductCode.esriLicenseProductCodeAdvanced }, new ...


0

Assuming the two points are on the the curve, you can use the QueryPointAndDistance on both points, get the difference and that is what you looking for. Public Function distancebetweenTwoPoints(pPolyline As IPolyline, pPoint1 As IPoint, pPoint2 As IPoint) As Double Try Dim distancetoPoint1 As Double = 0 Dim distancetoPoint2 As Double ...


0

Is the gpk using any tools that are within a particular extension? Does this same issue occur when you create the gpk in version 10.2.2? I had an issue once where a 10.3 gpk would not start local server whereas a 10.2.2 would.


1

Looking at the API for the Interface IAddDataDialog it appears you need to set the Document property which you are not doing in the screen shot you supplied. May be that is the source of the problem? In the walk through example on how to build a map viewing application they simply add a reference to the add data button to a toolbar, that may be a simpler ...


0

You can also use the Proj4 library. I think the number of supported projections is bigger than in all others. As far as I know the supported number of projections in NetTopologySuite is very limited. There is a wrapper available in order to use Proj4 in C#: http://ftp.dfg.ca.gov/Public/BDB/Tools/proj4/


2

You'll need to use IMultiuserWorkspaceEdit in combination with IWorkspaceEdit: You'll need to specify whether the featureclass to edit is versioned or not: muWorkspaceEdit.StartMultiuserEditing(esriMultiuserEditSessionMode.esriMESMVersioned); or muWorkspaceEdit.StartMultiuserEditing(esriMultiuserEditSessionMode.esriMESMNonVersioned);



Top 50 recent answers are included