ARCGIS for javascript : TPK data retrieval - arcgis

Is it possible to retrieve the data from a tpk?Means, is there a way to embed some information in tpk like address, region etc. and retrieve that information by means of querying

No, this wouldn't be possible.
Firstly according to the ESRI Documentation Tile Packages are solely for storing raster tiles, when displayed these tiles would show a user a map image but could not be queried interactively to identify or search for addresses / regions.
Additionally tile packages would not be practically accessible to web applications designed with the ArcGIS Javascript API. Tile packages are zipped file systems containing a large number of images, the usual way of making these tiles available to an application would be through a map service.
I would recommend for this type of functionality you view the examples on querying map services as a demonstration of what is available with the API.

Related

Architecture for image storage and retrieval system

What is best architecture to store images for blog and retrieval? I have a usecase where I have to design image storage / retrieval system for articles. Where and how should I store store these images and retrieve / access those while displaying contents of article with minimum latency?
It would be great if you can provide any reference for this. Thanks.
If you want minimum latency for image retrieval, you need to use a CDN (Content Delivery Network)
Check out this article for more details.
For example, AWS offers Cloud Front which is very simple to use - store the images into an S3 bucket, and then use dedicated CloudFront URLs on your client-side code, to fetch the images.
There are other CDN providers out there, you can find them right away on a Google search.

Elevation API/database without using Google?

I need to find the maximum elevation along a given path (defined by start and end latitude/longitude), but in searching the internet the only option I seem to find is the Google elevation api. Unfortunately, that's not an option because the google terms of service explicitly state that:
The Google Maps Elevation API may only be used in conjunction with displaying results on a Google map. It is prohibited to use Google Maps Elevation API data without displaying a Google map.
Since my usage does not involve a google map (I'm using Open streetmap data combined with FAA sectional charts), using the Google Maps Elevation API would directly violate this. Additionally, I want to say that Google prohibits commercial usage, which this is (although we may be able to pay an exorbitant fee to get around that restriction).
In any case, given that the Google Maps Elevation API isn't an option, what other options do I have, either in a web-based API similar to Google, or in some sort of a local database download that I can query?
The USGS offers downloads of elevation data in various formats at https://nationalmap.gov/small_scale/atlasftp.html I was able to download a GeoTIFF of the area of interest, load it into a PostgreSQL database, and use the PostGIS extension to perform queries against the data to retrieve the desired information. No licensing issues or number of data point restrictions, plus it's all local.

Connecting external data to ArcGIS

I'm very new to ArcGIS, I need to developed some sort of custom web part for SharePoint where i could use the ArcGIS API's to leverage the map, filters, and potentially sharepoint components (document library, list item). All of the map data points reside in external data sources (SQL). Can anyone recommend me a particular API to use, i'm looking at silverlight, javascript and .Net but they all seem to have some limitations as what i'm trying to accomplish.

Can the Google Map API be used with an external map file ?

If the detail level of the area I want to display in my application is not good enough (like large private properties such has harbours or airports), can I replace the original Google Map with own data ? Using with Google Map enterprise/business version.
Thanks
Sven
You want a custom map type, that uses your tiles when the zoom is greater than that supported by Google Maps tiles natively.

Google Maps, Bing Maps, OpenStreetMaps and MapQuest limitation

I'm very confused reading the online term of use of some Online Map Service (like Google Maps, Bing Maps, OpenStreetMaps and Mapquest)...
There is a way to use Google or Bing Maps on a website for non-commercial or commercial pourpose without any daily limitation of request?? What kind of Api I can use for free without any limitation of use or request, if I want to see a map on my site with several point of interest inserted by me??
I have read that in free version of Google or Bing some ads may appear sometimes inside the maps, and I cannot insert in my webpages any ads from another provider different from Google or Bing. It's true?
If I want to use OpenStreetMaps (an opensource Maps Database) or the partner MapQuest, it's true that there aren't any limitations of daily request or appearing ads on the maps or policy of exclusive banner campaign??
But, at the end, If I try to build a portal with this maps, and I want to plan in the future the insertion of some ads and the creation of a little company, I'm doing a commercial or not-commercial use (now and in future)??
Google recently announced new advertising and rate limiting in their terms of service. Websites will be forced to display ads in their maps, or pay for a premium account. Popular websites (resulting in lots of hits of google map tile server) will also need to pay for a premium account. It's not clear if your intended use will trigger those limits.
OpenStreetMap might offer a viable alternative. They do run a map tile server which can be used to embed a slippy map on your website. There is also an open source javascript library called OpenLayers (among other options), meaning that you can be free of google and their ads. OpenStreetMap do however operate a strict tile usage policy to protect the service which is paid for by donations, and run by volunteers.
OpenStreetMap also uniquely offers another approach: Create your own tile server, rendering the raw map data yourself. This might be a sensible option if you run a very popular website, or if you require only a limited area of the world to be shown. It's also really neat because you have full control over rendering style. It's a fairly technical process though ...but
Because this is possible, a number of third parties will offer you a map tile service built using OpenStreetMap data. e.g. MapQuest, CloudMade, TileServer, TileDrawer, or MapBox