ThinkGeo.com    |     Documentation    |     Premium Support

This shape has not been implemented yet

Getting an error on the map: "The record is invalid, please call CheckForUnsupportedRecords method to check the the failed reason."


Then it gives a record index.


(Yes, the "the" is duplicated in the error message.)


I could not find the method it mentioned, but I did run "validate" and this is the error it throws: 


"This shape has not been implemented yet."


I have dozens of shapefiles of all sizes, this is the first time I've seen this.

We just received these new shape files from a GIS service and they all do it.


Any ideas?



We will update the exception description, thanks for letting us know, Kirk!  
  
 About that shape file, can you open it in some other tool? Could you send it to us so we can have a test here? Please send it to support@thinkgeo.com and ask to forward to Ben or if it’s too big, please ask support@thinkgeo.com for an FTP account. 
  
 Thanks, 
  
 Ben

I get this error too. 
  
 I am only using one, fixed, shape file. The error occurs randomly (well, random to me at least!). 
  
 And, 'call CheckForUnsupportedRecords method ’ on what?!

Kirk, Thanks for sending me that file! I found that your file is with the type of PolygonZ which we don’t support.  We will fix it in the upcoming version and sorry for the inconvenience now. 
  
 Matthew, that exception description is wrong, it should be “call Validate() method” instead. Can you quickly check the type of your shape file by calling shapeFileFeatureLayerGetShapeFileType()? Also you can send the data to us if you want.  
  
 Thanks, 
  
 Ben

Okay got our source to regenerate the shape files without the use of PolygonZ and the shapefiles load properly. Thanks! 
  
 Now however, I get this error: 
  
 Microsoft JScript compilation error: Syntax error 
  
 opl_GeoResource.axd 
 ln 627 
 try{(this.options[‘on’+state]||OpenLayers.Ajax.emptyFunction)(response);OpenLayers.Ajax.Responders.dispatch(‘on’+state,this,response);} <- 
 catch(e){this.dispatchException(e);} 
  
 None of my code throws any errors, but when it’s done running, this is the error I get. 
 If I skip over the section that adds markers to an InMemoryMarkerLayer it works. 
 Strange thing is, the marker section works fine on the original shape file. 
  
 So again, it must be something to do with these new shapefiles. But if no error is thrown on the ASP side, why is there JScript syntax errors? 
  
 Please help!

Kirk,  
  
 This exception is caught by callback, and most likely something is wrong with the marker. Can you comment out adding markers to see if it still has the problem? Can you make a simple demo to recreate it and send to us so we can test here? 
  
 Thanks, 
  
 Ben