POST
|
I found this from Melita Kennedy. The false northings for the foot version of Teale Albers was incorrectly defined in the projection parameters. However, behind the scenes it appears to be ok. https://gis.stackexchange.com/questions/343820/is-the-esri-arcgis-definition-of-california-albers-projection-using-units-of-fee
... View more
06-10-2021
06:19 PM
|
1
|
0
|
282
|
POST
|
If you put the toolbox under a secondary directory such as ..\Install\Toolbox\, you will need to make sure that Toolbox directory is included like so: pytoolbx = os.path.join(os.path.dirname(__file__), "Toolbox\Toolbox.pyt")
... View more
10-27-2016
03:46 AM
|
1
|
0
|
1275
|
POST
|
I've chosen this way to get the proper Upper/Lower Left/Right start origin for creating a route. Get envelope of each route Get digitized start points for each route Make points from envelope vertices Calculate MIn/Max for X and Y from the envelope verticie points (for each route) Test where Start Point falls in the Min/Maxs for X and Y (is StartX > (X2-X1)/2 or <? etc) From tests determine Upper/Lower Left/Right quadrant Feed quadrant into Create Routes Digitized ditection drives where the start point is. Eric
... View more
10-09-2012
12:25 PM
|
0
|
0
|
300
|
POST
|
Thank you. That answered it, I needed to have this in the code (doh!): import com.esri.ags.events.TimeExtentEvent; Eric
... View more
01-23-2012
09:55 PM
|
0
|
0
|
234
|
POST
|
I'm trying to monitor my time slider changes and want to add an event listener for the TimeExtentEvent. Neither the Map class, the TimeSlider class nor the Layer class seem to allow for addEventListener(TimeExtentEvent.TIME_EXTENT_CHANGE). When I attempt to add a listener for this event to any of these valid classes, I get an "Access of undefined porperty TimeExtentEvent" error in Flash Builder. Does anyone know where a listener can be added for this event? Thank you, Eric Anderson
... View more
01-23-2012
02:56 PM
|
0
|
2
|
668
|
POST
|
To specifically address the coordinate display issue (not scale). Replace your substitute function with this:
private
function substitute(mapPoint:MapPoint):String
[LEFT]{
var nf2:NumberFormatter = new NumberFormatter();
nf2.precision = 2;
return StringUtil.substitute(m_template,
nf2.format(mapPoint.x),
nf2.format(mapPoint.y));
}
[/LEFT]
... View more
11-28-2011
09:59 AM
|
0
|
0
|
420
|
POST
|
AGS will not allow me to add the Capability of 'Feature Access' on the service since the data resides in a File GDB and is not in SDE. Unfortunately, I do not currently have access to SDE. Eric
... View more
09-27-2011
11:38 AM
|
0
|
0
|
841
|
POST
|
Thanks Nimesh. I re-obtained the JSON from the ArcGIS.online site and it came without 'itemID' (and is now version 1.4 as you probably well know) so I pasted that into my local mobile content item JSON and tried it agian (refreshing the AGS cache and re-establishing the server connection in the iOS app on my iPad). Still no luck. When Everyone is removed on the service in AGS, I still don't the popup I get when Everyone is applied to the service as one of the service's users. With Everyone removed on the service (secure), I do get a popup but it is the default location popup the iOS App delivers that contains the nearest road and the Lat/Long, not the popup I configured. What else can I try? Is the 4-digit code ArcGIS.online tags onto the end of the service name a problem ("id")? Seems like that would only apply to the ArcGIS.online version and not my local version. Thank you, Eric
... View more
09-27-2011
09:58 AM
|
0
|
0
|
841
|
POST
|
I think you should add the map service into the webmap directly by going through Add>Search for layers> In a Server(select this from the drop down selection) and paste the unsecured service into the search box below it. Then config the popups like you have done before on the service and save off the map and extract the JSON. Then switch out the URLs(if there is a change to the service url when security is turned on) and create the webmap on your mobile content server. I did the above and I get the same problem, no popups when the local service is secured. I did not do this yet: Or doing the Add>From the Web>Enter Service URL(doing it this way you can post in basic and digest secured services into the map) However the URLs resulting from the first method are no different now than before. Just for clarity's sake, I am making the local services not-secure by allowing the Everyone user in the service permissions with the popup layer. I invoke security by removing the Everyone user which then requires that I enter credentials as the iOS map loads. Note, the last JSON I got from ArcGIS.online was version 1.4, yesterday it was 1.3. Still can't get popups under secure services. Eric
... View more
09-23-2011
03:43 PM
|
0
|
0
|
841
|
POST
|
.. into arcgis.com did you enable the popups and save the configuration of the popups and then save the entire map and extract the JSON. Yes. Here's the JSON I entered for the MobileWeb item: { "operationalLayers": [ { "url": "http://<externalfacigndomain>/<ArcGIS instance>/rest/services/<folder>/<mapservice>/MapServer", "id": "<mapservice name with '_xxxx" applied by ArcGIS.online on the end>", "visibility": true, "opacity": 0.5, "title": "Parcels", "itemId": "f072bc69652949b8a628eb41f92d1acf", "layers": [{ "id": 1, "popupInfo": { "title": "Proj_Pars: {APN}", "fieldInfos": [ { "fieldName": "OBJECTID", "label": "OBJECTID_12", "isEditable": false, "visible": false }, { "fieldName": "Shape", "label": "Shape", "isEditable": false, "visible": false }, { "fieldName": "COUNTY", "label": "County", "isEditable": false, "visible": true, "stringFieldOption": "textbox" }, { "fieldName": "SEGMENT", "label": "Alignment Segment", "isEditable": false, "visible": false, "stringFieldOption": "textbox" }, { "fieldName": "APN", "label": "APN#", "isEditable": false, "visible": false, "stringFieldOption": "textbox" }, { "fieldName": "APN_JOIN", "label": "APN_JOIN", "isEditable": false, "visible": false, "stringFieldOption": "textbox" }, { "fieldName": "PAR_LOC", "label": "Parcel Summary", "isEditable": false, "visible": true, "stringFieldOption": "textbox" }, { "fieldName": "GIS_STA", "label": "Status", "isEditable": false, "visible": true, "stringFieldOption": "textbox" }, { "fieldName": "SITUSADD", "label": "Address", "isEditable": false, "visible": true, "stringFieldOption": "textbox" }, { "fieldName": "OWN_TYPE", "label": "Owner Type", "isEditable": false, "visible": true, "stringFieldOption": "textbox" }, { "fieldName": "OWNER", "label": "Owner Name", "isEditable": false, "visible": true, "stringFieldOption": "textbox" }, { "fieldName": "OWN_INST", "label": "Owner Instructions", "isEditable": false, "visible": false, "stringFieldOption": "textbox" }, { "fieldName": "SURV_PAR", "label": "Survey Parcel", "isEditable": false, "visible": false, "stringFieldOption": "textbox" }, { "fieldName": "ESL_Pars", "label": "In ESL Parcel", "isEditable": false, "visible": false, "stringFieldOption": "textbox" }, { "fieldName": "ESL_Type", "label": "ESL_Type", "isEditable": false, "visible": false, "stringFieldOption": "textbox" }, { "fieldName": "PM1_TYP", "label": "Permit Type", "isEditable": false, "visible": false, "stringFieldOption": "textbox" }, { "fieldName": "PM1_EXP", "label": "Permit Expiration", "isEditable": false, "visible": false, "format": {"dateFormat": "shortDateShortTime"} }, { "fieldName": "PM1_ST", "label": "Permit Status", "isEditable": false, "visible": true, "stringFieldOption": "textbox" }, { "fieldName": "AGAP1_ST", "label": "Agency App Status", "isEditable": false, "visible": true, "stringFieldOption": "textbox" }, { "fieldName": "PERM_ACT", "label": "Permit Action", "isEditable": false, "visible": true, "stringFieldOption": "textbox" }, { "fieldName": "Acres", "label": "Acres", "isEditable": false, "visible": true, "format": { "places": 2, "digitSeparator": true } }, { "fieldName": "Comments", "label": "Comments", "isEditable": false, "visible": false, "stringFieldOption": "textbox" }, { "fieldName": "DataSrc", "label": "DataSrc", "isEditable": false, "visible": false, "stringFieldOption": "textbox" }, { "fieldName": "Src_Co", "label": "Src_Co", "isEditable": false, "visible": false, "stringFieldOption": "textbox" }, { "fieldName": "Init_IDd", "label": "Init_IDd", "isEditable": false, "visible": false, "stringFieldOption": "textbox" }, { "fieldName": "Curr_IDd", "label": "Curr_IDd", "isEditable": false, "visible": false, "stringFieldOption": "textbox" }, { "fieldName": "GIS_DUP", "label": "GIS_DUP", "isEditable": false, "visible": false, "stringFieldOption": "textbox" }, { "fieldName": "GIS_COMM", "label": "GIS_COMM", "isEditable": false, "visible": false, "stringFieldOption": "textbox" }, { "fieldName": "Shape_Length0", "label": "Shape_Length", "isEditable": false, "visible": false, "format": { "places": 2, "digitSeparator": true } }, { "fieldName": "Shape_Area0", "label": "Shape_Area", "isEditable": false, "visible": false, "format": { "places": 2, "digitSeparator": true } }, { "fieldName": "ESL_Pars_old", "label": "ESL_Pars_old", "isEditable": false, "visible": false, "stringFieldOption": "textbox" }, { "fieldName": "ESL_Pars_Pre_Adj", "label": "ESL_Pars_Pre_Adj", "isEditable": false, "visible": false, "stringFieldOption": "textbox" }, { "fieldName": "OID", "label": "OID", "isEditable": false, "visible": false, "format": { "places": 0, "digitSeparator": true } }, { "fieldName": "Shape_Length", "label": "Shape_Length", "isEditable": false, "visible": false, "format": { "places": 2, "digitSeparator": true } }, { "fieldName": "Shape_Area", "label": "Shape_Area", "isEditable": false, "visible": false, "format": { "places": 2, "digitSeparator": true } } ], "description": null, "showAttachments": false, "mediaInfos": [] } }] }, { "url": "http://<externalfacigndomain>/<ArcGIS instance>/rest/services/<folder>/<mapservice>/MapServer", "id": "<mapservice name with '_xxxx" applied by ArcGIS.online on the end>", "visibility": true, "opacity": 0.6, "title": "Project Data", "itemId": "dc7f021e30464de18315e40224455141" }, { "url": "http://<externalfacigndomain>/<ArcGIS instance>/rest/services/<folder>/<mapservice>/MapServer", "id": "<mapservice name with '_xxxx" applied by ArcGIS.online on the end>", "visibility": true, "opacity": 1, "title": "Labels", "itemId": "01c84d9d79314e9fb63bd3b7f6f0a4d9" } ], "baseMap": { "baseMapLayers": [{ "id": "World_Street_Map_4816", "opacity": 0.9, "visibility": true, "url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" }], "title": "Streets" }, "version": "1.3" } Thanks for looking at it, Eric
... View more
09-23-2011
11:46 AM
|
0
|
0
|
1299
|
POST
|
"Make sure the data schema being used between the secured/unsecured is mirrored". Lost me right there. Schema of the FC with the fields to be put in the popup? If so, the FC used to define the schema configured in the ArcGIS.online map is the same one that is accessed locally for my local servers. Or is it something else? I have a secured instance of ArcGIS Server that has security enabled with SQL Server users and roles. Services only allow one role which contain a User that is in the agsusers group. The instance has Anonymous User allowed in IIS. Service folder is not secured with encryption yet so no SSL. Map services contain the layer and the services are based on MSDs. All AGS 10. Does pooled matter for services in AGS? Eric
... View more
09-23-2011
10:06 AM
|
0
|
0
|
1299
|
POST
|
Thanks for all your help Russ. I have created a map on ArcGIS online with several services and a popup set up on one of the service's layers. I extracted the JSON and plugged it into my content server on my local ArcGIS Server. The services are secured ( I temporarily made them unsecure to get the JSON from the ArcGIS.online map) and the data displays fine when the services are secure. However, the popups only work when the local services are unsecure. Seems like the popup functionality is being defined on ArcGIS.online rather than by my local content server. There are two elements 'id and "itemID' in the JSON which seem to reference ID numbers found on the ArcGIS.online versions of the services. Should these just be removed to allow the popups to work locally? Seems some other examples of 'local' JSON don't have these elements. Thank you, Eric
... View more
09-23-2011
01:08 AM
|
0
|
0
|
1299
|
POST
|
I had some issues with this as well but the problems were on my end. I am using a map service (AGS 9.3) for my feature layer. I was also getting this error on application startup: TypeError: Error #1009: Cannot access a property or method of a null object reference. at widgets.FeatureTooltip::FeatureTooltipWidget/setTooltip()[<mywebsitepath>\src\widgets\FeatureTooltip\FeatureTooltipWidget.mxml:75] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent() at com.esri.ags.layers::FeatureLayer/enterFrameHandlerSecond() That message made me think the data wasn't loading since I couldn't see the data nor was there a little triangle next to the layer under the "More.." button. But it turns out, I had the alpha at "0" so I couldn't see the layer. Also, for single layers under the "More.." button, no little triangle will be present to the left of the service's name - that is by design for single layers. And the Nulls were in my data (which was, it turns out, loading). I will trap for that as a modification. I am wondering though, where can I change the "sensitivity" of the hover? It seems really difficult and touchy to get the tooltip to activate - lots of micro-mousing over a feature (line) just to get it to work. Thanks for any assistance, Eric
... View more
02-21-2011
03:51 PM
|
0
|
0
|
273
|
Title | Kudos | Posted |
---|---|---|
1 | 06-10-2021 06:19 PM | |
1 | 10-27-2016 03:46 AM |
Online Status |
Offline
|
Date Last Visited |
06-10-2021
08:33 PM
|