[Geoserver-devel] WFS output format for SHAPE-ZIP failed (empty file)

Hi! Folks,

I have tried to export a WFS output format with SHAPE-ZIP, but it always gets an empty file (nothing in the zip file), I can get the WFS output xml file and also tested it by ArcCatalog which can see the requested features. However I tried to export the SHAPE-ZIP failed, anyone has any help will be appreciated.

The layer was published through the GeoServer by retrieving the database (feature table) of Oracle 11g.

http://localhost:5021/wfs?
request=GetFeature&
typename=topp:state&
service=wfs&
outputformat=SHAPE-ZIP

Thank you for your great help!

Zhanping


From:geoserver-devel-request@lists.sourceforge.netgeoserver-devel-request@lists.sourceforge.net
To: geoserver-devel@lists.sourceforge.net
Sent: Tue, October 26, 2010 9:06:12 AM
Subject: Geoserver-devel Digest, Vol 53, Issue 73

Send Geoserver-devel mailing list submissions to
geoserver-devel@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
or, via email, send a message with subject or body ‘help’ to
geoserver-devel-request@lists.sourceforge.net

You can reach the person managing the list at
geoserver-devel-owner@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than “Re: Contents of Geoserver-devel digest…”

Today’s Topics:

  1. SLD extension (lv)
  2. [jira] Created: (GEOS-4196) Add support for single file
    outputs to ogr2ogr (Andrea Aime (JIRA))
  3. [jira] Created: (GEOS-4197) Problem with Demo Requests:
    WFS_transactionUpdate.xml (Stefan (JIRA))
  4. Re: adding dbconfig community module (Rob Atkinson)
  5. [jira] Created: (GEOS-4198) WMS GetFeatureInfo cascading
    should be as lenient as the other code paths vs the srs params
    (Andrea Aime (JIRA))
  6. [jira] Created: (GEOS-4199) Improve shapefile output
    traceability and flexibility (Andrea Aime (JIRA))
  7. Re: Improving shape-zip output format: customization and
    traceability (Freeman, Aleda (EEA))
  8. [jira] Created: (GEOS-4200) Allow WFS BBOX kvp parser to
    handle AUTO projections (Andrea Aime (JIRA))

Message: 1
Date: Tue, 26 Oct 2010 08:01:50 +0000
From: lv <lv.123@anonymised.com>
Subject: [Geoserver-devel] SLD extension
To: <groldan@anonymised.com>
Cc: geoserver-devel@lists.sourceforge.net,
geoserver-users@lists.sourceforge.net
Message-ID: <BLU127-W205B9ED0303370B53F8A9ECB420@anonymised.com>
Content-Type: text/plain; charset=“gb2312”

I create a new layer named nyc_buildings3 based on nyc_buildings.
Then, I apply the shadow.sld to it and ignore the validation error.
Third, I create a layer group and add nyc_buildings and nyc_buildings3.
However, I cannot see the shadow.

The following SLD extension snippet is used to show shadow but it cannot be validated by geoserver. How to modify Geoserver?
Should I add SLD extension plugin and where can I download as well as how to install it?

the_geom 0.00004 -0.00004

-------------- next part --------------
An HTML attachment was scrubbed…


Message: 2
Date: Tue, 26 Oct 2010 03:12:06 -0500 (CDT)
From: “Andrea Aime (JIRA)” <jira@anonymised.com>
Subject: [Geoserver-devel] [jira] Created: (GEOS-4196) Add support for
single file outputs to ogr2ogr
To: geoserver-devel@lists.sourceforge.net
Message-ID:
<32036831.1379.1288080726958.JavaMail.haus-jira@anonymised.com>

Content-Type: text/plain; charset=ISO-8859-1

Add support for single file outputs to ogr2ogr

Key: GEOS-4196
URL: http://jira.codehaus.org/browse/GEOS-4196
Project: GeoServer
Issue Type: Improvement
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 2.0.3

ogr2ogr output format normally zips the result of the conversion. However sometimes the output is a single file. Have it stream back directly the file without any zipping in that case


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


Message: 3
Date: Tue, 26 Oct 2010 04:04:05 -0500 (CDT)
From: “Stefan (JIRA)” <jira@anonymised.com>
Subject: [Geoserver-devel] [jira] Created: (GEOS-4197) Problem with
Demo Requests: WFS_transactionUpdate.xml
To: geoserver-devel@lists.sourceforge.net
Message-ID:
<1591141.1416.1288083845952.JavaMail.haus-jira@anonymised.com>

Content-Type: text/plain; charset=ISO-8859-1

Problem with Demo Requests: WFS_transactionUpdate.xml

Key: GEOS-4197
URL: http://jira.codehaus.org/browse/GEOS-4197
Project: GeoServer
Issue Type: Bug
Components: Global
Affects Versions: 2.0.2
Environment: Windows
Reporter: Stefan
Assignee: Andrea Aime
Attachments: 1.JPG, 2.JPG, 3.JPG, 4.JPG

Hi,
I try to update record in attribute table of one SHP file.

The situation is shown on attachment files, as sequence 1.jpg,2.jpg,3.jpg,4.jpg

The problem is with demage ot attribute table, after update of one record - see 4.jpg.

What cause the problem?

Thanks


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


Message: 4
Date: Tue, 26 Oct 2010 20:44:04 +1100
From: Rob Atkinson <robatkinson101@anonymised.com>
Subject: Re: [Geoserver-devel] adding dbconfig community module
To: Andrea Aime <andrea.aime@anonymised.com>
Cc: geoserver-devel@lists.sourceforge.net
Message-ID:
<AANLkTikrExQ_LAYHEj8P4RHfkiwLV5dWqx6SqLq0wA0G@anonymised.com>
Content-Type: text/plain; charset=ISO-8859-1

+1

On Tue, Oct 26, 2010 at 5:33 PM, Andrea Aime
<andrea.aime@anonymised.com> wrote:

On Tue, Oct 26, 2010 at 12:00 AM, Justin Deoliveira
<jdeolive@anonymised.com> wrote:

Hi all,
Thanks to everyone for voting on the catalog/config refactor gsip. Now that
this is out of the way i would like to add the new dbconfig stuff as a
community module where i can continue work and continue addressing issues
that have been brought up in conversation.?Thanks!

+1

Cheers
Andrea


Ing. Andrea Aime
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 ?Massarosa (LU)
Italy

phone: +39 0584962313
fax: ? ? +39 0584962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf



Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in ?U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Message: 5
Date: Tue, 26 Oct 2010 05:00:06 -0500 (CDT)
From: “Andrea Aime (JIRA)” <jira@anonymised.com>
Subject: [Geoserver-devel] [jira] Created: (GEOS-4198) WMS
GetFeatureInfo cascading should be as lenient as the other code paths
vs the srs params
To: geoserver-devel@lists.sourceforge.net
Message-ID:
<26521114.1470.1288087206065.JavaMail.haus-jira@anonymised.com>

Content-Type: text/plain; charset=ISO-8859-1

WMS GetFeatureInfo cascading should be as lenient as the other code paths vs the srs params

Key: GEOS-4198
URL: http://jira.codehaus.org/browse/GEOS-4198
Project: GeoServer
Issue Type: Improvement
Components: WMS
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 2.1-beta2

The other code paths fill in the missing srs param using the layer native one. The WMS cascading code path should be doing the same


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


Message: 6
Date: Tue, 26 Oct 2010 06:12:05 -0500 (CDT)
From: “Andrea Aime (JIRA)” <jira@anonymised.com>
Subject: [Geoserver-devel] [jira] Created: (GEOS-4199) Improve
shapefile output traceability and flexibility
To: geoserver-devel@lists.sourceforge.net
Message-ID:
<3514318.1497.1288091525865.JavaMail.haus-jira@anonymised.com>

Content-Type: text/plain; charset=ISO-8859-1

Improve shapefile output traceability and flexibility

Key: GEOS-4199
URL: http://jira.codehaus.org/browse/GEOS-4199
Project: GeoServer
Issue Type: Improvement
Components: WFS
Affects Versions: 2.1-beta1
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 2.0.3

Make the shape-zip output format more traceable:

  • allow the admin to customize the resulting zip name
  • allow the admin to customize the single shapefile name
  • add a file containing a dump of the request (whose name has to be customizable as well)

Use a single freemarker template, with a property file structure, to specify and customize all the above.
The current naming scheme should remain unaltered by default


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


Message: 7
Date: Tue, 26 Oct 2010 09:03:29 -0400
From: “Freeman, Aleda (EEA)” <Aleda.Freeman@anonymised.com>
Subject: Re: [Geoserver-devel] Improving shape-zip output format:
customization and traceability
To: Andrea Aime <andrea.aime@anonymised.com>, Chris Holmes
<cholmes@anonymised.com>
Cc: Geoserver-devel <geoserver-devel@lists.sourceforge.net>
Message-ID:
<1345308DBFC9F149BDE5E13E6A4F1A50795F3F5397@anonymised.com>

Content-Type: text/plain; charset=“us-ascii”

MassGIS does add extra params to point to external metadata sources. :slight_smile:
Here’s what we do: In the keywords section we have one metadata URL and
zero or more extract doc URLs. Our main viewer client software OLIVER is programmed to grab the content at these URLs and bundle it with the shapefile extracted from GeoServer.

For example, our layer massgis:GISDATA.SCHOOLS_PT has these keywords:

MassgisMetadataUrl=http://www.mass.gov/mgis/hospitals.htm
ExtractDoc=http://maps.massgis.state.ma.us/metadata/GISDATA.HOSPITALS_PT.xml
ExtractDoc=http://maps.massgis.state.ma.us/avls/hosp_er.avl
ExtractDoc=http://maps.massgis.state.ma.us/lyrs/Hospitals.lyr

The .htm is easy human readable metadata, the .xml is a shapefile XML metadata exported from SDE, the .avl is an old ESRI ArcView 3.x symbolization file (probably no one wants these anymore but I haven’t taken the time to strip the keywords out), and the .lyr is an ESRI ArcMap symbolization file.

We wanted to do this because we dislike distributing data without any metadata. We could expand later or other content - Word or PDF docs or videos we feel they are essential to “go with” the dataset.

I think GEOS-4199 is great, but I’d be concerned about a name conflict with the ESRI XML metadata file. I think we’d like to keep layer-name-in-sde.xml, because I think ESRI ArcMap automatically looks for that naming scheme. Maybe the GeoServer metadata version could be called something like GS.GISDATA.HOSPITALS_PT.xml? GS prefix for GeoServer? Just a thought.


Message: 8
Date: Tue, 26 Oct 2010 08:06:05 -0500 (CDT)
From: “Andrea Aime (JIRA)” <jira@anonymised.com>
Subject: [Geoserver-devel] [jira] Created: (GEOS-4200) Allow WFS BBOX
kvp parser to handle AUTO projections
To: geoserver-devel@lists.sourceforge.net
Message-ID:
<7488052.1712.1288098365996.JavaMail.haus-jira@anonymised.com>

Content-Type: text/plain; charset=ISO-8859-1

Allow WFS BBOX kvp parser to handle AUTO projections

Key: GEOS-4200
URL: http://jira.codehaus.org/browse/GEOS-4200
Project: GeoServer
Issue Type: Improvement
Components: WFS
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 2.0.3

Allow the KVP parser to handle something like &BBOX=x1,y1,x2,y2,AUTO:42001,9001,-93,0


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



Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev



Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

End of Geoserver-devel Digest, Vol 53, Issue 73