Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-4793

FIWARE.Request.Tech.WebUI.GISDataProvider.Geoserver.issue

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Critical
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      Hello,

      i am forwarding an issue about Geoserver/3D GE.

      BR,
      Aggelos

      ---------- Forwarded message ----------
      From: Panagiotis Koutsaftikis <panagiotis@warp.ly>
      Date: Tue, Oct 13, 2015 at 8:38 PM
      Subject: Geoserver issue
      To: Aggelos Groumas <gkraggel@di.uoa.gr>, Nicholaos Petalidis <
      nikos@petalidis.gr>

      Hello Aggelos,

      We have an issue with the 3D representation of geo data. More specifically,
      the details of the Geoserver we use are:

      • Version: 2.6.0
      • Git Revision: a648a0c32dd4a6998036410e08d24f94cbf9fb7e
      • Build Date: 23-Jul-2015 08:51
      • GeoTools Version: 12.0 (rev 645963cd65a6f5c151722ce012f2a4a6d3b86a44)
      • GeoWebCache Version: 1.6.0 (rev
        1.6.x/8beca4056f2c4873adbf6758b2ab12f65cebf7a0).

      The installation was made by following this guide:

      https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/GIS_Data_Provider_-_Installation_and_Administration_Guide

      Until now, we have :

      • created a workspace,
      • a store, (Directory of spatial files (shapefiles)),
      • uploaded plenty layers with testing data, mostly from Greece,
      • and a group to gather all.

      Taking advantage of Openlayers, we have created a UI (javascript,Html,css)
      to visualize all the previous layers into a map, giving the ability to the
      user to change also the base map (google streets, google physical,
      openlayers etc).

      Now, we want to take advantage of the W3DS service.

      Although, when we try to enable some of the layers, a Java IOException
      came, that says the shape type is Undefined:

      Caused by: java.io.IOException: Unsuported shape type:Undefined
      at
      org.geotools.data.shapefile.shp.ShapefileReader.init(ShapefileReader.java:342)
      at
      org.geotools.data.shapefile.shp.ShapefileReader.<init>(ShapefileReader.java:266)
      at
      org.geotools.data.shapefile.ShapefileSetManager.openShapeReader(ShapefileSetManager.
      java:51)
      at
      org.geotools.data.shapefile.ShapefileFeatureSource.readAttributes(ShapefileFeatureSource.java:411)
      at
      org.geotools.data.shapefile.ShapefileFeatureSource.buildFeatureType(ShapefileFeatureSource.java:370)
      at
      org.geotools.data.shapefile.ShapefileFeatureStore.buildFeatureType(ShapefileFeatureStore.java:131)

      at
      org.geotools.data.store.ContentFeatureSource.getAbsoluteSchema(ContentFeatureSource.java:340)

      ... 104 more

      We manage to add some other layers that contains 3D data, but when we made
      a request with w3ds, we got nothing visible as result.

      1. Do you have any sample shape file with 3D data that are valid,
      2. In order to call w3ds service, the url parameters has to be set
      manually, or is there any other way to generate it?
      3. Is there a specific style for the points in 3D representation?

      Any guide will be helpful.

      Thanks in advance,

      [image: photo]
      Panagiotis Koutsaftikis
      Software Engineer
      p: +30 210 3234175 | e: panagiotis@warp.ly | w: www.warp.ly | a: Athinas 2
      & Ermou Str, 10551, Athens, Greece
      <http://facebook.com/warply> <https://www.linkedin.com/company/warply>
      <http://twitter.com/warply> <http://slideshare.net/Warply>


      Groumas Aggelos
      Research Assistant
      SCAN Lab ~ http://scan.di.uoa.gr/

      Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
      Please, send your messages using the new domain (Fiware-fractals-coaching@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-fractals-coaching mailing list
      Fiware-fractals-coaching@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-fractals-coaching
      [Created via e-mail received from: Aggelos Groumas <gkraggel@di.uoa.gr>]

        Issue Links

          Activity

          Hide
          ichulani ilknur chulani added a comment -

          Hi Juha,

          Could you kindly provide some help for this Geoserver/3G question from the Fractals accelerator?

          Thanks,

          ilknur

          Show
          ichulani ilknur chulani added a comment - Hi Juha, Could you kindly provide some help for this Geoserver/3G question from the Fractals accelerator? Thanks, ilknur
          Hide
          ichulani ilknur chulani added a comment -

          Dear Juha,

          When you add a comment, could you kindly also use the "email" menu function on top right most of the page, to also email your comment to gkraggel@di.uoa.gr and
          panagiotis@warp.ly ?

          Thanks again,

          ilknur

          Show
          ichulani ilknur chulani added a comment - Dear Juha, When you add a comment, could you kindly also use the "email" menu function on top right most of the page, to also email your comment to gkraggel@di.uoa.gr and panagiotis@warp.ly ? Thanks again, ilknur
          Hide
          ichulani ilknur chulani added a comment -

          Dear Juha,

          It has been 5 days since we assigned this ticket to your name. Could you kindly provide some help?

          Thanks,

          ilknur

          Show
          ichulani ilknur chulani added a comment - Dear Juha, It has been 5 days since we assigned this ticket to your name. Could you kindly provide some help? Thanks, ilknur
          Hide
          jhyvarinen Cyber Lightning added a comment -

          Hi,

          Sorry for delay with answer, I have been out of office.

          1. You can find working shapefile with 3D content from test assets (https://forge.fiware.org/frs/download.php/1687/FIWARE-Test_asset_4.4.3.zip). If Geoserver doesn't recognize your shapefile it's probably somehow corrupted or it uses data types that are not implemented to shapefile reader. I recommend you to use Postgresql/PostGIS combination since that's significantly faster than shapefiles.

          2. Some parameters need to be defined by user / developer, for example layer name. It's just client logic and examples for that logic can be found from reference client (https://github.com/Cyberlightning/GISDataProvider/blob/master/GIS_Client_octet-stream/scripts/scenemngr.js#L301) and also from Openlayers. It's also worth to notice that some parameters change only with request type and those need to be set by user/developer. You can also use Apiary documentation (http://docs.gisdataprovider.apiary.io/#) to check needed parameters and test your requests. You might also find Geoserver documention to be usefull (http://docs.geoserver.org/)

          3. Is there a specific style for the points in 3D representation?

          I'm not sure what you mean with this last one? If you use points in 3D representation as a data source for terrain elevation then those points are visualized by 3D engine and you don't need to define any style for it. Just to make sure, Openlayers is not a 3D engine, so you need to use something else for visualization or enhance Openlayers functionality by your self.

          BR.
          Juha

          Show
          jhyvarinen Cyber Lightning added a comment - Hi, Sorry for delay with answer, I have been out of office. 1. You can find working shapefile with 3D content from test assets ( https://forge.fiware.org/frs/download.php/1687/FIWARE-Test_asset_4.4.3.zip ). If Geoserver doesn't recognize your shapefile it's probably somehow corrupted or it uses data types that are not implemented to shapefile reader. I recommend you to use Postgresql/PostGIS combination since that's significantly faster than shapefiles. 2. Some parameters need to be defined by user / developer, for example layer name. It's just client logic and examples for that logic can be found from reference client ( https://github.com/Cyberlightning/GISDataProvider/blob/master/GIS_Client_octet-stream/scripts/scenemngr.js#L301 ) and also from Openlayers. It's also worth to notice that some parameters change only with request type and those need to be set by user/developer. You can also use Apiary documentation ( http://docs.gisdataprovider.apiary.io/# ) to check needed parameters and test your requests. You might also find Geoserver documention to be usefull ( http://docs.geoserver.org/ ) 3. Is there a specific style for the points in 3D representation? I'm not sure what you mean with this last one? If you use points in 3D representation as a data source for terrain elevation then those points are visualized by 3D engine and you don't need to define any style for it. Just to make sure, Openlayers is not a 3D engine, so you need to use something else for visualization or enhance Openlayers functionality by your self. BR. Juha

            People

            • Assignee:
              jhyvarinen Cyber Lightning
              Reporter:
              fw.ext.user FW External User
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: