POST
|
I am making some maps for a book. I usually use South Polar Stereographic for my maps. I want page "up" to always be north. I can get ArcMap to rotate the map using Layers->Properties->General, but then I'm just doing north by eye. It seems that there has to be some way of getting ArcGIS to rotate it so that "up" is north. Anyone know how to do this? Thank you in advance. I'm using ArcGIS 10. Change the central meridian of the projected coordinate system?
... View more
02-15-2011
09:45 AM
|
0
|
0
|
647
|
POST
|
Hey Guys, I am calling Project on IGeometry (its an IPoint) and its updating the Spatial Reference but not the X and Y. Any ideas on what could be causing this? Point X, Y, and SpatialReference.Name before projection: -111.500208333333 52.7583416666666 GCS_North_American_1927 and after projection: -111.500208333333 52.7583416666666 NAD_1927_UTM_Zone_5N This is what I expect to see after the projection: 3040679.65085327 6998991.0570187 NAD_1927_UTM_Zone_5N Cheers, Ian Hi Ian, The point's too far away from zone 5, which has a central meridian of -153. We set a limit of 45 degrees of longitude from the central meridian in ArcGIS. If a point falls outside the horizon, it's unchanged. I can project the point in the underlaying projection engine directly, but I don't get those exact values (3214331.2658 6691441.5288). There aren't many transverse Mercator implementations which could take those XY values and return back the given lat/lon values. -111.5 is in zone 12N. Melita
... View more
02-03-2011
02:28 PM
|
0
|
0
|
226
|
POST
|
A shout out to all my international GIS users! I've been asked to seed a geodatabase for some clients working in the North Sea & was wondering if anyone can help me identify a good standard (OOTB) projection for this data. they have been unable to provide me any data yet, so i'm kind of flying blind. thanks! The EPSG Geodetic Parameter Dataset (http://www.epsg-registry.org, disclaimer: I'm on the committee) lists some ED50-based transverse Mercator zones. ED50 / TM 0 N is used by Shell. There's another one for Netherlands offshore with a central meridian at 5E. There are also ED50 and WGS84 UTM zones, but they may be offset a little for the area of interest. Melita
... View more
01-21-2011
10:22 AM
|
0
|
0
|
719
|
POST
|
Hi, I'm trying also to migrate my code from v9.3 (where it runs fine) to v10 but without any success. The error I'm getting is the same to what the other folks report here: "Retrieving the COM class factory for component with CLSID {7B5B7020-C4F6-11D1-BC92-0000F875BCCE} failed due to the following error: 80040111". I have followed all the instructions posted on the ESRI website about the migration. My code uses only the ArcGIS engine and debugging completes with no errors (C#, VS2008SP1). The binding to the appropriate ArcGIS runtime works fine, the license initialization the same but when I try to create a new instance of the SpatialReferenceEnvironment I get the exception above. In case you are wondering, the ArcGIS Migration Code Analyzer doesn't throw any errors when I test my projects (only a warning that I have to change the target CPU to x86). Can somebody help? Thanks K. Hi, Are you setting the licensing information? See earlier posts in this thread, or this blog entry: Migrating to Engine 10 Melita
... View more
01-13-2011
02:57 PM
|
0
|
0
|
950
|
POST
|
Hello, I read that the geoid is very close to the real earth shape(less than a meter off the MSL) and that it is at most 100m away from the WGS84 spheroid, then I saw such models where the MSL seems to be thousands of kilometers away from any spheroid, are those hugely exaggerated and inaccurate models or am I misunderstanding something? (from my understanding 100m shouldn't be noticeable and a good earth model should be a spheroid - almost a sphere - 22km difference between the spheroid axis shouldn't be noticeable as well). Thanks for the help. The geoid model: See original post for the graphic Hi, Yes, it's definitely been exaggerated. I seem to remember reading somewhere that the surface of the earth is smoother than the surface of a bowling ball (relatively). There are some numbers here: http://www.geography.hunter.cuny.edu/tbw/GTECH201/notes/5.Earth.Coordinates.Grid.Coordinate.Systems.Notes.pdf on page 5. Melita
... View more
01-10-2011
12:03 PM
|
0
|
0
|
4187
|
POST
|
I created a personal geodatabase in which I want to import GPS-derived features (with trimble gps Analyst extension). for the databese I chose geographic cordinate system in WGS84 and set the xy domain to the default values min = -400 (for both x and y) and max = 400. However, when creating a new feature dataset within the *.mdb, setting the same projection (or importing it) the resulting domain has higher maximum values for x and y (= 9006799.25474099 instead of 400). I can't see why this is happening, or how I can change it as it is not possible to define the spatial domain itself when creating the dataset, nor change it within the properties. Since the spatial domain of the database is smaller than the one of the dataset, I get an error when importing GPS derived features for postprocessing purposes. Thanks for any advice Katharina Katharina, The large values are correct. In a high precision feature class/dataset, the maximum allowed value is around 9000 trillion as an integer value. The XY/Z/M domains and resolution values convert between the real world double precision values and internally managed positive integers. That's with a resolution size of 1. When we set the XY (Z/M) domain minimum and maximum values to something reasonable, that means the resolution value is very, very small which increases storage requirements and processing time. Instead, only the minimum XY/Z/M domain values are used plus a more reasonable resolution values. The maximum values are set based on the minimum values and the resolution, and thus the maximum values become very large. You may want to take a look at this white paper: Understanding Coordinate Management in the Geodatabase Melita
... View more
01-10-2011
11:09 AM
|
0
|
0
|
246
|
POST
|
Hello! Is there a way to combine Coordinate Frame transformation method and custom grid-based NTV2 method into single transformation method? Right now, in ArcGIS Desktop there is only possibility to choose either first or second method, but have anybody tried to combine these two into singular one? Thanks in advance! Many greets, Vojkan Gajovic, GISDATA Belgrade Serbia Hi Vojkan, We plan to add this functionality at 10.1 to ArcMap--at least to combine two existing transformations. If they're new, you could then define them with the GP tool, Create Custom Geographic Transformation, and then use them in ArcMap. For now, the only in ArcMap is to create a tool/script. I'll post a VBA sample, but I haven't made a similar add-in for ArcGIS 10 yet. Melita Sub twoGT()
'1)Create our factory
Dim pSpatRefFact As ISpatialReferenceFactory2
Set pSpatRefFact = New SpatialReferenceEnvironment
Dim pGeoTrans_A As IGeoTransformation
Dim pGeoTrans_B As IGeoTransformation
'2)Use the factory to create our geotransformation objects
Set pGeoTrans_A = _
pSpatRefFact.CreateGeoTransformation(esriSRGeoTransformation_ED1950_To_WGS1984_1)
Set pGeoTrans_B = _
pSpatRefFact.CreateGeoTransformation(esriSRGeoTransformation_Belge_1972_To_WGS_1984_1)
'3)Create a composite geotransformation object
Dim pGeoTransComposite As ICompositeGeoTransformation
Set pGeoTransComposite = New CompositeGeoTransformation
'4)Add the two separate geotransformations to the composite
pGeoTransComposite.Add esriTransformForward, pGeoTrans_A
pGeoTransComposite.Add esriTransformReverse, pGeoTrans_B
'5)Give the new transformation a name.
Dim pNewGeoTrans as IGeoTransformation
Set pNewGeoTrans = pGeoTransComposite
pNewGeoTrans.Name = "ED_1950_To_BD_1972"
End Sub
... View more
01-05-2011
02:24 PM
|
0
|
0
|
322
|
POST
|
A friend of mine sent me some raster files. The raster files are good in every way, except for the extent. The extent of the raster file is completely off. I know what the new extents need to be, but I have no idea how to change them. If you know how to change a raster's extent, please post it. Hi, There are two issues that may be occurring. 1) the rasters are not georeferenced. The extents reflect the number of cells in the raster like 0.5,0.5 to 999.5,999.5. If this is the case, see Fundamentals for georeferencing a raster dataset 2) The raster has no coordinate system information, so ArcMap isn't able to project it on-the-fly (in memory) to match your other data. In this case, you need to define the coordinate system. Once that's done, you can use the Project Raster tool to create a copy in a different coordinate system. Defining or modifying a rasters coordinate system Melita
... View more
12-28-2010
03:25 PM
|
0
|
0
|
229
|
POST
|
I'm having trouble getting data from my GPS unit in WGS 84 to show up correctly when I change the projection to MTM 3 Degree. Do I need to change the projection more than once before it's correct? I'm also not sure of the transformation I need to use (if that's the problem), I'm displaying data in Toronto I think what you should do is leave the data defined as WGS84. Then use the Project tool to create a new dataset in MTM, or let ArcMap project it on the fly (in memory). Melita
... View more
12-23-2010
10:58 AM
|
0
|
0
|
433
|
POST
|
Hi, I have XY value tabel having with NAD 27 Zone 6, I want convert this vales to NAD 83 Zone 6. Thanks, GM You'll want to look at IGeometry2:ProjectEx. By Zone 6, do you mean a state plane zone? Possibly in California or Alaska? Here are some snippets. The first creates a projected coordinate system based on NAD27. Private Sub CreateProjectedReferenceSystem()
' Set up the SpatialReferenceEnvironment.
' SpatialReferenceEnvironment is a singleton object and needs to use the Activator class.
Dim t As Type = Type.GetTypeFromProgID("esriGeometry.SpatialReferenceEnvironment")
Dim obj As System.Object = Activator.CreateInstance(t)
Dim srFact As ESRI.ArcGIS.Geometry.ISpatialReferenceFactory = obj
' Use the enumeration to create an instance of the predefined object.
Dim projectedCS As IProjectedCoordinateSystem = srFact.CreateProjectedCoordinateSystem(esriSRProjCSType.esriSRProjCS_NAD1927SPCS_CAVI) ' California 6
End Sub
The enumeration for NAD83 California 6 is esriSRProjCS_NAD1983SPCS_CAVI. You'll also want to look at Understanding geotransformations which has a link to code on how to create an existing transformation. If the data is in California, you'll want to use esriSRGeoTransformation_NAD_1927_TO_NAD_1983_NADCON. Melita
... View more
12-20-2010
02:30 PM
|
0
|
0
|
1491
|
POST
|
Dan, Set the forum to "show threads active within": 1 year. Here's a link: http://forums.esri.com/forums.asp?c=34&dy=365 Ooh, and you can change &dy=### to a larger number to return more threads. Nice. I didn't know that. Although this may be something to look at for the old forums--add more options to the "show threads active within" pull-down list. Melita
... View more
12-17-2010
11:03 AM
|
0
|
0
|
202
|
POST
|
Hi, for an application I have to get the unit of the coordinate system of a featureClass. (I'm using VBA) What I do is: I take the layer with the FeatureClass. Then give the Layer to IGeoDataset. The Reference System of the dataset I pass to IGeographicCoordinateSystem or IProjectedCoordinateSystem. Finaly i get the unit from IUnit. My problem is: Bevor I pass to IGeographicCoordinateSystem or IProjectedCoordinateSystem, I have to know, if it is a GCS or a PCS. Otherwise I get an error. I didn't find out how I can check this before. Does anyone of you have an idea? You should be able to use something like this: If TypeOf pSpatialReference Is IGeographicCoordinateSystem Then
MsgBox "GeographicCoordinateSystem"
End If
If TypeOf pSpatialReference Is IUnknownCoordinateSystem Then
MsgBox "UnknownCoordinateSystem"
End If
If TypeOf pSpatialReference Is IProjectedCoordinateSystem Then
MsgBox "ProjectedCoordinateSystem"
End If Melita
... View more
12-15-2010
03:55 PM
|
0
|
0
|
212
|
POST
|
Does anyone now if the Geodatabase Reporter is available for ArcGIS 10.0? If not, will it be available in the near future? Any alternatives? The Geodatabase Reporter for 9.2 says to use ArcGIS Diagrammer if using 9.3. The ArcGIS 10 version of ArcGIS Diagrammer is here: http://resources.arcgis.com/gallery/file/arcobjects-net-api/details?entryID=F12ADF8F-1422-2418-34B2-C276C6BCCF98 Melita
... View more
12-14-2010
02:58 PM
|
0
|
0
|
340
|
POST
|
When using the new XY To Line tool the Line Type is provided. However I cannot find anything regarding more detailed descriptions of the Line Type. What is the difference between GEODESIC and NORMAL_SECTION? Also, what are some examples as to when are the best instances to use which tool? Type of two-point lines to construct. Default line type is GEODESIC. GEODESIC�??Straight line based on a spheroid. GREAT_CIRCLE�??Straight line on a sphere. RHUMB_LINE�??Line of constant bearing (direction). NORMAL_SECTION�??Straight line on a spheroid. Hi Daniel, A normal section is a simplified version of a geodesic line. It's easier to construct, but won't quite be the shortest path. It is defined by the intersection of a plane that passes through two points on the surface of the spheroid and is perpendicular to the surface ('normal') at the first point. Melita
... View more
12-08-2010
12:15 PM
|
0
|
0
|
397
|
POST
|
Thanks, Melita. Just a couple more questions: 1) Is it possible to store the geographic transformation on the layer, rather than on the map, so that each layer could use a different transformation? I looked through the documentation and I didn't see anything, so I suspect the answer is 'no', but I thought I would ask anyway. 2) Can I create an IGeoTransformation using an EPSG code instead of the ESRI code, or map an EPSG code to its associated ESRI code? I tried to create a NAD83 to WGS84 NADCON transformation using the EPSG code, but I got an error saying that the code was not valid for a geographic transformation. The documentation describes a method for creating a spatial reference from an EPSG code, but not a geographic transformation. Thanks. Bob Hi Bob, 1) No. We have had several people ask for that functionality, but haven't scheduled it for a software release yet. 2) ISpatialReferenceFactory:CreateGeoTransformation which takes an integer 'code'. Where we can, we use the EPSG codes for our well-known IDs/codes. If you use an EPSG code and the object isn't created (using the appropriate function), we don't support it yet. We also have macros, or enumerations, under esriSR<objtype>. There's some code on GeoTransformationOperationSet here: http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/How_to_use_the_IGeoTransformationOperationSet_methods/000100000m6z000000/ Hope this helps! Melita
... View more
12-03-2010
10:56 AM
|
0
|
0
|
629
|
Title | Kudos | Posted |
---|---|---|
1 | 07-03-2019 08:56 AM | |
1 | 07-08-2013 01:27 PM | |
2 | 08-11-2023 10:21 AM | |
1 | 07-11-2011 09:31 AM | |
1 | 10-12-2012 09:49 AM |