# Loading ESRI Shapefiles in statplanet using the vanrijkom classes

**URL:** <https://forum.kirupa.com/t/loading-esri-shapefiles-in-statplanet-using-the-vanrijkom-classes/325173>\
**Category:** Uncategorized\
**Created:** [September 29, 2011, 7:51pm UTC](https://forum.kirupa.com/t/loading-esri-shapefiles-in-statplanet-using-the-vanrijkom-classes/325173 "2011-09-29T19:51:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![neilmpatel](https://avatars.discourse-cdn.com/v4/letter/n/b5ac83/32.png) [@neilmpatel](https://forum.kirupa.com/u/neilmpatel)\
**Post date:** [September 29, 2011, 7:51pm UTC](https://forum.kirupa.com/t/loading-esri-shapefiles-in-statplanet-using-the-vanrijkom-classes/325173/1 "2011-09-29T19:51:56Z")

</div>

Hi everyone and Kirupa,

I’m using flash to display shapefiles in statplanet and eventually my own flash based program. I need to implement quite alot of tools but the very first task I have to do is simply load the shapefiles (which consist of a shp file and dbf file) using the vanrijkom classes.  
I’ve been using some sample code created by a co developer of stat planet andy woodruff and ran into a code block on one of my shapefiles.

Here is andy’s tutorial which DOES indeed work.  
[http://www.cartogrammar.com/blog/simple-shapefile-drawing-in-actionscript-3/](http://www.cartogrammar.com/blog/simple-shapefile-drawing-in-actionscript-3/)

My new shapefile is much larger which does not load using the tutorial’s classes. I also can’t upload it here because it exceeds the forum’s limitations. I would be happy to email it to whomever wants to help me on this.

So far, when loading the shapefile, after about 60 seconds, i get an actionscript timeout limit saying that the script has exceeded the 15 second timeout limit. This occurs even after I broke up andy’s code into chunks with timers, as well as changing the publish setting’s script time limit from 15 to 1000 seconds.

Kindest,

Neil
