Opened 15 years ago

Closed 15 years ago

#2761 closed enhancement (fixed)

Confusing error message

Reported by: Ari Jolma Owned by: warmerdam
Priority: lowest Milestone: 1.7.0
Component: OGR_SF Version: unspecified
Severity: normal Keywords:
Cc:

Description

"Attempt to write non-polygon (LINESTRING) geometry to type shapefile." (note the two spaces)

I assume the intention was to report something like

"Attempt to write non-polygon (LINESTRING) geometry to polygon shapefile."

at shape2ogr.cpp:592 and shape2ogr.cpp:632:

Change History (1)

comment:1 by Even Rouault, 15 years ago

Milestone: 1.7.0
Resolution: fixed
Status: newclosed

Fixed in r16016.

Ari, I'm sure you could have fixed it by yourself ;-)

Note: See TracTickets for help on using tickets.