[Geoserver-devel] [jira] Created: (GEOS-4449) Shapefile export from MS SQL layer generates point based shape file

Shapefile export from MS SQL layer generates point based shape file
-------------------------------------------------------------------

                 Key: GEOS-4449
                 URL: http://jira.codehaus.org/browse/GEOS-4449
             Project: GeoServer
          Issue Type: Bug
          Components: OGR output format, SQLServer, WFS
    Affects Versions: 2.1-RC3
         Environment: Ubuntu 10.04.2 LTS, OpenJDK6, Tomcat6, MSSQL jdbc 3.0, JAI
            Reporter: Siim Aus
            Assignee: Andrea Aime
            Priority: Trivial
         Attachments: data-samples.zip

When you create MSSQL line based (and styled) geometry layer and display it in Layer Preview, it renders correctly, as a line. When you export it using WFS GeoJSON, it gets its geometric attribute exported as Linestring. However, when exporting a shapefile, its exported as point layer type. Also GML3.2 export seems to be invalid although I'm not very familiar with its schema. But Geometry field if defined in GML 2 and 3.1 export file and empty in GML 3.2 export file.

Files with data exports are attached.

Additionally, codehaus jira seems to be be bugged, i cannot remove wrongly added attachment ?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira