POST
|
i think i found out why I wasn't able to access my arcgis.com webmap from a template on our local webserver....yesterday at the esri SWUG I found out that only silverlight viewers have the ability to login to esri global acct, to access private web maps. how...i'm going to a tech. workshop today on silverlight to find out! thanks again Mike!
... View more
11-17-2011
04:25 AM
|
0
|
0
|
1026
|
POST
|
hi mike- As far as I could tell, the 8th post in that thread just refers to access secure (https) arcgis-server services, not private services on ArcGIS online.
... View more
11-16-2011
02:43 AM
|
0
|
0
|
1026
|
POST
|
since joins/relates are not supported for .shp files uploaded to arcgis online, can anyone point me in the direction of accessing the external data? It would be easy to include a URL in the .shp attribute table that accesses an external script that in-turn queries a database, but the results would be displayed outside the popup window; in a browser window. Anyway to put the results inside the pop-up window? thanks!
... View more
11-15-2011
02:33 PM
|
0
|
1
|
2027
|
POST
|
Have a map saved on arcgis online that has a few shapefiles added to it. This map is only viewable to a private group, not the public. Is there any way to reference this map 'service' from a template on our webserver? I'm able to successfully view a public map service from ArcGIS online by copying the public mapid and inserting it into the template index.html. I also tried to generate a token as explained in this guide, and was able to get the username/password login when accessing the template, but all username/password entries fail? http://help.arcgis.com/en/arcgismobile/10.0/apis/iphone/AppGuide/Maps.pdf is this even possible? thanks! ps. sorry for double-posting the issue, but the other thread was referring to https (SSL) secure ArcGIS Server resources.
... View more
11-15-2011
10:46 AM
|
0
|
10
|
6104
|
POST
|
thanks mike. However, i'm not connecting to any secure ArcGIS Server services, I just added all layers to the map via .zip shapefile. I'm trying to connect to the Arcgis.com map that i have saved, (shared with a private group) from a custom template I have on our webserver. I understand this is accomplished with tokens but i'm not able to get it to work.
... View more
11-10-2011
12:13 PM
|
0
|
0
|
1041
|
POST
|
any update on this? I have a non-public map saved on arcgis.com. i generated a token using the following url: https://www.arcgis.com/sharing/generateToken?f=json&request=gettoken&username=MYUSERNAME&password=MYPASSWORD&Referer=MYUSERNAME token = ttttttttttttttttttttttttttttttttttttttttt I then found the ItemID of my non-public map. ItemID = xxxxxxxxxxxxxxxxxxxxxxxxxx I am able to view the json using this url: http://www.arcgis.com/sharing/content/items/xxxxxxxxxxxxxxxxxxxxxxxxxx/data?f=pjson&token=ttttttttttttttttttttttttttttttttttttttttt I downloaded the chrome legend map template from here and installed it on our webserver: http://www.arcgis.com/home/item.html?id=c9f1750f9b9f496ca7df16fa31870145 I can view the default webmap when pointing to our webserver's URL. If I open the template .html file and alter the webmap setting, to point to a different, publicly available map, it works great. However, when I alter the webmap setting in the .html to the following: xxxxxxxxxxxxxxxxxxxxxxxxxx/data?f=pjson&token=ttttttttttttttttttttttttttttttttttttttttt I get a login box, of which i enter my arcgis.com username/password, (same that was used to generate the token) and it just says 'username/password invalid' any ideas?? thanks!
... View more
11-10-2011
09:04 AM
|
0
|
0
|
1041
|
POST
|
thanks! confirmed. If I create a new feat. dataset with smaller tolerance, (0.0000000089 degrees) then import the feat. classes, no self intersections are found. Too bad you can't set tolerances; going to have to recreate thousands of feat. datasets; then import the feat. classes.
... View more
06-08-2011
05:21 AM
|
0
|
0
|
4941
|
POST
|
more info.... If I create a new feat. dataset, then import the feat. class that contains self intersections, and re-run check geometry; no errors are reported! Could someone explain?
... View more
06-07-2011
09:30 AM
|
0
|
0
|
4941
|
POST
|
Several thousand polygon feat. classes contain geometry problems, almost all self intersections. I need to repair the self intersections for a variety of reasons: 1. negative area calculations 2. I need to remove all arc segments from all features; to do so with only an ArcView license, I have to run shape_density.cal, (/www.ian-ko.com) on shape field. With geom. issues this does not run correctly. 3. Oracle database that features are being loaded into checks for geom. issues After a self intersection(s) is identified, the repair geom. tool is ran. However, the resulting features differs significantly from the original feature. I understand the self intersections polys are dissolved...any way to correct this? i.e. repair geometry but not significantly alter the feature? I attached an image of the original feature and after the geom. had been repaired. thanks
... View more
06-07-2011
09:07 AM
|
0
|
7
|
12551
|
POST
|
thanks Jake. Yeah, unfortunately, most of the feat. classes I need to check are polygons
... View more
06-06-2011
05:18 AM
|
0
|
0
|
605
|
POST
|
not the most elegant solution, but to calc. geometries of an unprojected feat. class, I ended up: projecting feat. class - output to temp.gdb calculated geometry of temp feat. class make feat. layer of temp feat. class join temp feat. layer "OBJECTID" ----- with ----- original feat. class "OBJECTID" calc field of orig. feat. class with the calculated geometries
... View more
06-03-2011
01:00 PM
|
0
|
0
|
238
|
POST
|
depending on how many gdb's you have, this can be done in ArcMap...manually. 1. Start with a new ArcMap document, then double click on 'layers' in the table of contents 2. in data frame properties, go to coordinate system tab/ predefined/ geographic coor system/world/wgs84 3. hit "ok, then "yes" on the warning 4. add your feat classes 5. create 2 new fields, named 'lat' and 'long' 6. right click on the field and choose 'calc geometry' 7. select 'y coordinate of a point' then select 'use coordinate system of the dataframe' units 'decimal degrees' 8. you now have a column of latitude coordinates. 9. do the same for 'long' field. remember, x measures distance E/W of Prime Meridian, y measures N/S of equator
... View more
06-03-2011
12:53 PM
|
1
|
0
|
1616
|
POST
|
humm, created 2 polygons inside a feat. class. OBJECTID = 1 was created using the "end arc point segment tool" and OBJECTID = 2 was created using the "straight line segment" tool. Ran this script: fclist = gp.listfeatureclasses("arc_test*")
for fc in fclist:
rows = gp.searchcursor(fc)
row = rows.next()
while row:
typ = row.Shape
geom = str(typ.centroid.X)
print row.getvalue("OBJECTID"), geom
truegeom = str(typ.truecentroid.X)
print row.getvalue("OBJECTID"), truegeom
row = rows.next() Here is the output: 1 -93.0638463269 1 -93.0638463269 2 -93.0635589449 2 -93.0635589449 both geom & truegeom are the same, for both polygons, even though 1 of them contains an arc segment??
... View more
06-03-2011
09:36 AM
|
0
|
0
|
605
|
POST
|
In python, how would one go about identifying feat. classes that contain arc segments? Client's oracle system wont' load feat. classes containing arcs, and I don't have ArcInfo to run generalize command! So, best I can do is identify feat. classes, then manually fix them in ArcMap...thanks.
... View more
06-03-2011
08:11 AM
|
0
|
6
|
2607
|
POST
|
this should get ya going. I didn't see the need for the .describe since your end goal is to loop through datasets/features anyway. Take note of the "*" wildcards in the listdatasets and listfeatureclasses methods. You could enter "utilities*" to only loop through all feat. datasets that begin with "utilities". dsList = arcpy.ListDatasets("*", "Feature")
for dataset in dsList:
arcpy.env.workspace = sde + "\\" + dataset
fcList = arcpy.ListFeatureClasses("*")
for feature in fcList:
arcpy.env.workspace = dataset + "\\" + feature
featout = output + dataset + "\\" feature
print featout
arcpy.Project_management(feature, featout, outCS, transformation, inCS)
... View more
05-25-2011
01:47 PM
|
0
|
0
|
226
|
Title | Kudos | Posted |
---|---|---|
1 | 06-21-2024 03:34 PM | |
1 | 11-10-2023 05:45 PM | |
3 | 01-18-2024 07:57 AM | |
3 | 08-29-2023 07:50 AM | |
1 | 05-10-2021 07:48 PM |
Online Status |
Offline
|
Date Last Visited |
a week ago
|