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 have digitize 3 rivers on google earth and converted into shp file to use in matlab. I have checked the shp file in Arcgis and they are working. But while opening in Matlab, matlab shows some error. Can anyone help me out...

  1. Unsupported shape type PolyLineZ (type code = 13).
  2. headerTypeCode = readHeaderTypeCode(shpFileId,callingFcn); The code I am giving is below : water = shaperead('rivers', 'UseGeoCoords', true); geoshow( water , 'Facecolor', 'blue')
share|improve this question
2  
It would seem Matlab can't cope with 3D polyline shapefiles (which is what PolylineZ type represents). Convert the shapefile to 2D only, and if you need the elevation data, add it as an attribute, not actual geometry data –  U2ros Nov 8 '12 at 9:29
    
@U2ros yes....you were right..it solved the purpose...but the next problem is the area which i specified in my program and the area inbuilt in the matlab for Russia are not matching.....may be due to projection system problem...i have used Lambert projection system..Can you suggest me something..?? –  Prateek Verma Nov 19 '12 at 10:54
    
Which Lambert exact projection are you using, they may have different properties –  U2ros Nov 19 '12 at 11:18
    
@U2ros i am using Lambert Conformal conic projection. I searched in the net and somewhere i found this projection is used for Russia. –  Prateek Verma Nov 20 '12 at 10:01
1  
Check out this link: chatt.hdsb.ca/~vanelliss/FOV1-000B9892/FOV1-000B9932/… Your are looking for an equal-area type of projection. There are no concrete projections listed there, but when you choose a type you should find one in the list of available SRSs –  U2ros Nov 20 '12 at 10:50

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.