|
POST
|
Hello, I have an application where dynamic points are pulled from a SQL db via an Ajax call - the points cannot live as a static map service on the server, and the SQL db from which I query is not integrated, and cannot be made to integrate, with ArcGIS Server, at least at the current moment. The basic set-up works well - I can asynchronously retrieve the x,y points and make them available for display via a toggle button. I am creating a feature layer using a JSON feature collection/layer definition and applying a unique value renderer. The problem is with the volume of data - I can only display a sampling of the available features... there are too many points to display at once. What I would really like to do is apply some sort of on-demand filter. The cap would remain the same; however, as the scale becomes smaller, the density of points would increase, and previously hidden points (at the larger scale) would become available. I know we can do this for map services on the server, but what about JSON-created layers? Ideally, every time a user loads the points, a new db call would be made to retrieve fresh data as they have a high rate of change. I could reduce the refresh to a daily update if there is a way to update a static map service through an automated batch job. The complete scope of data we are talking about is tens of millions of points, although we would never show all at any scale, and would need a connection to, at the most, several tens of thousands to hundreds of thousands of points. Any ideas would be appreciated!
... View more
06-15-2015
08:58 AM
|
0
|
7
|
4371
|
|
POST
|
You may also find some useful tools in Esri's System Monitor: http://www.arcgis.com/home/item.html?id=848f48b0f88e4de7a036377197453efe
... View more
06-12-2015
11:14 AM
|
1
|
0
|
1454
|
|
POST
|
Sorry to say this on the Silverlight forum! But, if you can, walk away from it and try not to look back. I liked Silverlight, I really did, but unless you need to support a legacy application, or a client/management will not budge on project requirements, you really should try and convert what you have to JavaScript. Have a look at this: ArcGIS API for JavaScript If you need JavaScript help, try w3: JavaScript Tutorial Also, once you read through this, have a look at: jQuery Tutorial And this: Dojo Tutorials - Dojo Toolkit The ArcGIS JS API is supported by Dojo, so you should have an idea about it, but I threw jQuery in there as well since you should have an idea about this library, too. And keep jsfiddle in mind, for prototyping: Hello World Example - JSFiddle Honestly, Silverlight should still be supported by Microsoft (security-wise), until 2021, I believe, but I wouldn't expect Esri to support it, and I would venture to say that before too long, IE will be the only way to run Silverlight.
... View more
06-09-2015
08:33 AM
|
3
|
2
|
1673
|
|
POST
|
Rosalind, There's a good forum posting which contains information on adding x,y data to a map: Need Assistance - First Time User The geocoding part probably will not be particularly useful for you since you are working with historic, international data - hopefully, you already have the northing/eastings, or lat/longs (x,y data), for their locations, otherwise, you will need to do quite a bit more research to find this information (I'm assuming you need it at the street level). Geographic data in the UK is tough... There's historic geog, modern geog, ceremonial geogs, geogs with many synonyms, etc. Good luck! Once you have the x,y data, your life will be much easier. You will probably want to create something like a "spider diagram", or "desire lines": ArcGIS Help 10.1 - spider Diagram This would basically create lines (with distance) from their home location, to work, and maybe to their birth place, if needed. Here's an older posting dealing with 9.3, if helpful: python - How to write a script that will automatically draw lines from one point to multiple destination points? (ArcMap… You may not have the necessary Esri license (Business Analyst), if not, perhaps a QGIS plug-in will work: QGIS Python Plugins Repository Here's info on QGIS plug-ins: Plugins And where to download QGIS: Welcome to the QGIS project! As a new user to GIS, you will have your work cut-out for you! But, once you figure it out, will really discover the power of GIS!
... View more
06-09-2015
08:14 AM
|
1
|
1
|
3721
|
|
POST
|
Have a look at the API page: ArcGIS API for Silverlight | ArcGIS for Developers It will give you a good start (Guide tab), including code samples (Samples tab). I have to ask, though, is Silverlight an absolute, 110% requirement? Can you persuade the powers-to-be to use JavaScript? You can integrate this well with ASP.NET (I use the framework and embed js maps on our pages). Silverlight is dead - browsers are even preventing the plug-in from loading, and, wont even allow workarounds in the near future (September, 2015, for Chrome). I can't speak for Esri, but I imagine most of their efforts nowadays will be for JavaScript - you will also find a larger community for the JavaScript API (and for Dojo/jQuery/JavaScript in general) than for Silverlight.
... View more
06-09-2015
07:27 AM
|
1
|
8
|
1673
|
|
POST
|
UPDATE: It looks like it's in the API, where appropriate: Legend | API Reference | ArcGIS API for JavaScript If the layer is an ArcGISDynamicMapServiceLayer or ArcGISTiledMapServiceLayer created using ArcGIS Server 10.0 SP1 or higher the legend is generated using the REST Map Service legend resource: http://mapservice-url/legend . If the layers are version 10 or lower the legend is created using the ArcGIS.com legend service. In order to use the ArcGIS.com legend service your map service needs to be publicly accessible and your application must be able to access ArcGIS.com. So, if you have issues, or need info, look it up in the API and see if there's any notes on version-specific functionality.
... View more
06-05-2015
12:54 PM
|
0
|
1
|
1593
|
|
POST
|
I did some digging and came across this: Is ArcGIS API for JavaScript 3.7  compatible with ArcGIS server 10.0 ? I couldn't find any official documents, anywhere. You'd think this would be useful info, but it's probably not required as per the Esri staff: In general, any version of the Javascript API will work with any ArcGIS Server 9.3 or later. Though certain functionality requires a newer server version, most things will work just fine. I found a doc for Flex - go figure: ArcGIS Flex API System Requirements | ArcGIS for Developers So it certainly seems probably there could be issues, but you wont know until you try!
... View more
06-05-2015
12:51 PM
|
2
|
2
|
1593
|
|
POST
|
Are you still able to access 2.2 over Esri's CDN - I tried http://js.arcgis.com/2.2/init.js and got a blank page, but I'm not sure if that's the right address. If Esri ended support, they probably aren't even hosting the API, so you'd have to use your own CDN and download from Esri... you could still use it, but you'd be on your own. Interestingly, though, unless I'm reading the doc incorrectly, there's some misinformation, because it states that API v3.x ended general availability in May of 2014! I would upgrade! Here's some info on that: Migrating to 3.0 | Guide | ArcGIS API for JavaScript I typically try to upgrade every release to minimize breaking changes. The longer you wait, the more difficult your life will be. You would need to account for breaking changes from minor version to minor version. I've had cases in the past with other products where, to upgrade, it would be easier to rewrite the application! I am using 3.12 right now, though, as Esri has a bug that needs to be fixed before I can upgrade. Esri will only consider it a breaking change if you need something in the latest version but can't use it due to a bug with the Esri code.
... View more
06-05-2015
07:05 AM
|
0
|
4
|
1593
|
|
POST
|
Sadanandachar, It looks like most of the Oracle questions go unanswered on Geonet (from what I saw at least). I hope this helps: arcgis server - Connect ESRI Feature Service to Oracle Spatial database - Geographic Information Systems Stack Exchange See the edited answer - "csd" gives some info on how to do this with ArcGIS Server/Oracle: EDIT: If I understand your comment correctly, you have an existing Oracle Spatial instance. And you have (or will have) an existing ArcGIS Server install. And you want ArcGIS Server to view the data in Oracle without having to install ArcSDE (and its associated database objects) on your Oracle instance. Yeah, I think you could get the data OUT of Oracle. That would go like this: You'd have to set up Oracle client on your ArcGIS Server machine(s). See here. You'd have to set up Oracle client on your ArcGIS Desktop machines. You'd have to register your Oracle instance with ArcGIS Server so that any feature services you deploy will get their data direct from Oracle (rather than having their data copied upon deployment).See here. After that you could make ArcGIS Server map and feature services that view the data. Those services would probably not be editable through ArcGIS, though. Geodatabase editing in ArcGIS seems to need those extra ArcSDE metadata tables. (But I'm not an expert on that corner of the ArcGIS software, so maybe someone else would say different.)
... View more
06-05-2015
06:56 AM
|
0
|
0
|
831
|
|
POST
|
Rickey, I haven't tried this; however, I believe you may be able to use the BETWEEN operator: Time between '21:00:00' and '02:00:00' Try that and see if it works.
... View more
06-04-2015
07:55 AM
|
1
|
0
|
1352
|
|
POST
|
Basically, I have the map container, and below it, placeholder divs for stuff I don't want on the map, such as the legend. I create the legend like you would normally: var legend = new Legend({
map: map,
layerInfos: [{ "layer": mapLayer, "title": mapTitle}],
autoUpdate: false
}, ",phMapLegend");
legend.startup(); I attach to some map events, so after the maps loads and all of the category rendering is done, and the legend is created, I call up a custom map module to massage the legend that the API created from whatever is currently displayed. I actually end-up doing a bit of massaging on the labels, and then on the transposition - I started with this from Stack Overflow: javascript - How to invert the rows and columns of an HTML table? - Stack Overflow Which got the basic transposition to work, pretty much without a lot of modification, though I did need to point it to the right object: $("table", $('#phMapLegend_featLayer')).each(function () {... I have a lot of custom stuff for our purpose I'd need to pull out before I can get something I can post as far as a full working demo. But, in hindsight, this might not be the greatest idea since you're tied to the API... if it changes, like during a version upgrade, it could (and probably will) break the custom handling in place. I am actually looking at just creating my own legend class, so I don't need the API legend object.
... View more
06-03-2015
11:18 AM
|
1
|
1
|
2376
|
|
POST
|
David, I had problems with legend placement - I ended up attaching it to a node below the map, then massaged the returned object in jQuery. Basically, I transposed the table horizontally and applied some styling overrides, so it ended-up looking like this: It removed any clutter I had with the standard legend overlaying the map.
... View more
06-03-2015
10:31 AM
|
1
|
3
|
2376
|
|
POST
|
No problem - that reminds me, Tim created an advanced draw widget Javascript API - Advanced Draw widget - I wonder if he's thought about extending it to support something like this.
... View more
06-03-2015
08:43 AM
|
0
|
0
|
1171
|
|
POST
|
I still wasn't successful to adjust the sizing... Looking at http://js.arcgis.com/3.13/esri/toolbars/draw.js it seems like it may be set as a default here: case d.CIRCLE:
this._clear();
this._drawEnd(q.createCircle({
center: b,
r: 48,
numberOfPoints: 60,
map: a
}));
break; I'm not sure about this, though... Chrome wont let me hot swap changes to the file in memory for some reason. If this is doing what I think it's doing, I'm really not sure if there's a way to adjust this without changing the API...
... View more
06-03-2015
08:00 AM
|
1
|
2
|
1171
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-16-2020 01:25 PM | |
| 1 | 03-20-2019 09:07 AM | |
| 2 | 07-31-2015 07:31 AM | |
| 1 | 09-14-2015 12:14 PM | |
| 1 | 05-12-2015 12:04 PM |
| Online Status |
Offline
|
| Date Last Visited |
07-27-2023
02:30 AM
|