Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

i am working with openlayers and esri rest services... in my api due to esriGeometryPolygon for all city , rendering map is taking lots of time ..there for i dont take a good result.. first of all is there an way to take robust performance for looding layer aside from simplifying...or is there any way converting arcgis rest to vector layer for openlayers

thks

Edit:

thnks for your all replies. the snatchy solution i have found is that logging from below adress

//myserver/arcgis/rest/admin

and then periodic Clear Cache Options .... the long term is caching...

i hope it will useful...

share|improve this question

3 Answers 3

up vote 1 down vote accepted

I'm not that familiar with OpenLayers, but it looks like vector layers are indeed vectors. AFAIK Esri hasn't supported vector tiles since Librarian, so in their documentation for ArcGIS Server, all discussion of tiles pertain to raster tiles. Dave Bouwman has a video here on work he's done on vector tiles.

share|improve this answer
    
You say ESRI doesn't support tiling of vector layers and then you post a link to a video titled "Creating a Vector Tile Cache for ArcGIS Server" (which i already posted in my answer)... so which one is it? I'll tell you, they DO indeed support tiling of vector layers. I do it all the time. –  CaptDragon May 26 '11 at 16:43
    
Sorry, in the video Dave describes how he has extended arcgis server (using an SOE) to serve out vector tiles. His solution is on github and is not supported by Esri. Please let me know how you are able to do vector tiles out of the box. –  Kirk Kuykendall May 26 '11 at 16:58
    
I see where the confusion is: basically i'm creating a tile caches from vector layers. Once they are in tile format they are no longer Vector unless the data is not in the tile, then it will query the vector. I'm not suggesting the tiles are still vectors. –  CaptDragon May 26 '11 at 17:22
    
Also it's not clear to me that openlayers can consume vector tiles. If not, it would be interesting if openlayers were to be the first OOTB client for Dave's vector tiles. –  Kirk Kuykendall May 26 '11 at 18:02

It's not clear if this is what you are doing already, but you can load an ESRI REST layer directly into OpenLayers by supplying the URL. See the OpenLayers API docs and example.

This will be a raster / image layer - do you need to access/manipulate the geometry on the client-side, or only see it?

As it is an image then you can cache data as mentioned by others.

If you need to access the geometry then it could be easiest to serve out a WFS layer from your ESRI server which can be read directly into OpenLayers.

share|improve this answer
    
i have already used Esri Rest layer directly into my openlayers project but it is really working slow to load layer. however i can cache all my rest, but takes long time... –  Aragon May 30 '11 at 10:44
1  
If you don't need the geometry then try the REST image format (f=image) - sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/… –  geographika May 30 '11 at 10:55

You have a vector of an entire city. If it's detailed and has a lot of data, as a posed to just one polygon covering the city, it's going to be heavy and of course take a long time to render. So create a cache and it will load much faster.

Some more information about how you use this layer would be helpful. But as ESRI recommends: it's not a question of "when" or "if" to cache, but "how" to cache. So create tiles out of your vector layer and this will fix your performance problem.

Here's some more information on how to create your cache:

http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//00930000006v000000.htm

http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_java_help/index.html#/A_quick_tour_of_map_caching/009200000065000000/

http://resources.arcgis.com/gallery/video/arcgis-server/details?entryID=C5EECEBB-1422-2418-8803-AA3B9FF8B70A

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.