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 5 .shp files, after merge it with geomerge, I can't use it on OpenLayers with GeoServer. it's only show white layer and when i click it, it show error message: Internal error occurred ShapeType changed illegally from Arc to Point . what should I do?

share|improve this question
    
could you give a shapefile example, maybe? It would be easier to answer your question. It does not have to be whole dataset, only part of it. –  Mario Miler Jul 5 '12 at 10:35
    
To add to what @MarioMiler said, it would be useful to include portions of each of the input datasets, to see what was being combined. –  Get Spatial Jul 6 '12 at 8:02
    
it was ordinary shape file for street data.. thx for the help, it's working now –  xaver Jul 9 '12 at 2:49
add comment

1 Answer

The shapefile specification does not allow you to mix different types of shape in a single shapefile.

I've never heard of geomerge but it probably shouldn't allow you to do that as the end file won't be usable.

If you need all five files in a single WMS layer for some reason then look at layergroups instead.

share|improve this answer
    
but i was same format, for street place. when I open it with Quantum gis it's normal, when I export it to geoserver it's work, but when i use it to preview layers with open layer it show just white.. n when I click just error Internal error occurred ShapeType changed illegally from Arc to Point. thx for your answer :) –  xaver Jul 5 '12 at 8:24
2  
It means GeoMerge generated a shapefile whose ShapeType is not constant along the geometries, some are arcs, some are points. That shapefile is invalid, some software might be more or less tolerant with broken ones. –  Andrea Aime Jul 5 '12 at 10:38
    
thx for the answer, I will try using another software.. what recommendation do you have to merge shapefile? –  xaver Jul 6 '12 at 8:55
    
@xaver - I would definitely try Quantum GIS. It is easy to use, and you may just find other uses for it as well. One thing to be aware of, that was not directly addressed in the answer, is that if your shapefiles have multiple shape types, like point or polyline, you won't be able to merge them all together into one. You can merge all the lines together and all the points together. –  Get Spatial Jul 7 '12 at 20:28
    
At first I use quantum gis but it's show error and doesn't work. so I use geomerge and it's work but doesn't work when used. after googling and change domergeshapes.py it's work with quantum gis and problem solved thx for the support :) –  xaver Jul 9 '12 at 2:49
add comment

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.