Can we create API locally server not on the ESRI server.
ie. i have https://tiles.arcgis.com/tiles/Ezk9fcjSUkeadg6u/arcgis/rest/services/OPCNM/VectorTileServer
I want to create this api
Are you asking if you can create a tile service outside of ArcGIS Server? You mentioned the API, which can be hosted locally, but it doesn't sound like this is what you're looking to accomplish.
Yes. Can we create tiles service outside ArcGis Server?
I am looking for Tiles , feature layer, etc outside ArcGis server.
When it comes to feature layers, you're not bound to ArcGIS Server. For example, check-out ArcGIS API for JavaScript Sandbox
This sample uses GeoJSONLayer, but you can also create a FeatureLayer from the graphics returned by a geojson call... it's just a little more work. Let me know if GeoJSONLayer isn't something you can use and I'll supply a sample for converting GeoJSON into a FeatureLayer.
You can also create layers using CSVs - ArcGIS API for JavaScript Sandbox
For tiles, can you use ArcGIS Online? Also, have a look at this - https://community.esri.com/thread/184269-is-it-possible-to-render-mapbox-vector-tiles-pbf-from-a-cus...
Thank you so much for reply.
Firstly can you provide me sample code to convert GeoJson to Feature layer.
Second, I have mostly NDVI images they are tiff files. That's why i was using tiles to display my Tiff files.
If you have any other way we can display tiff image. Without ArcGis Server.
Thirdly,I was thinking about postGresql to save these layer.
Here's another one of my threads that has code on how to convert GeoJSON to FeatureLayer:
Polygon renderer issue fixed in v4.13 - when's the release date?
...let me see if I can create something for you...
Here are a couple more samples that do not use ArcGIS Enterprise as the primary data source:
KMLLayer | ArcGIS API for JavaScript 4.14
OpenStreetMapLayer | ArcGIS API for JavaScript 4.14
WebTileLayer | ArcGIS API for JavaScript 4.14
WMSLayer | ArcGIS API for JavaScript 4.14
WMTSLayer | ArcGIS API for JavaScript 4.14
Select WMTSLayer sublayer | ArcGIS API for JavaScript 4.14
GeoJSONLayer | ArcGIS API for JavaScript 4.14
GeoRSSLayer | ArcGIS API for JavaScript 4.14
Intro to CSVLayer | ArcGIS API for JavaScript 4.14
CSVLayer - Project points on the fly | ArcGIS API for JavaScript 4.14
Custom TileLayer | ArcGIS API for JavaScript 4.14
Custom DynamicLayer | ArcGIS API for JavaScript 4.14
Custom LERC Layer | ArcGIS API for JavaScript 4.14
Thank you. I want display data without using ArcGis Server.
ArcGIS API for JavaScript Sandbox
How I can create tiles or feature layer Api on my own server.
Do you have any sample code.
Are you asking how to publish and host tiled layers and feature layers on a non-ArcGIS server? Honestly, I'm not sure how to do that. The samples above show how to consume resources without using ArcGIS Enterprise. Some layers can be hosted and consumed (like VectorTileLayer, WebTileLayer, WMS, and WMTS) from a third-party server, and some cannot (e.g. MapImageLayer, FeatureLayer). For the FeatureLayer, you could still create one programmatically, but I think only ArcGIS Enterprise can host an actual FeatureLayer. Soon, the 4x version of the JS API will support WebFeatureLayer (which is currently supported at 3x).
Your best bet is to:
1) review documentation for third party servers, like GeoServer, and OGC standards
2) review our API reference for how to consume such layer types
FeatureLayer | ArcGIS API for JavaScript 4.14
VectorTileLayer | ArcGIS API for JavaScript 4.14
WebTileLayer | ArcGIS API for JavaScript 4.14