[Geoserver-users] Problem with 2 shape file

I have 2 shapes for the point and name of factory location files. I can view
both of them on ArcView. When I import them to oracle 10g using shp2sdo
tool, I am able to migrate and create feature both of them. However, the
error did happened when I click the Generate button.

Display error below
--------------------------

    * The FeatureType 'K50_FACTORY_LOCATION' has a NULL extent.
      HINT: the dataset is empty or has no default geometry attribute.

------------------------

After getting the errors, I try to click generate button serveral times.
Then, the error has gone. So, I went to see the preview feature in the map
preview. I cannot see the feature in the map preview everytime which it
should not happen like this. Anyway, my big problem I cannot see both layers
in the mapbuilder. It made my computer take a long time to calculate layers
with lots of exceptions.

If anyone want to see my shape file, please let me know.

Regards,
worr
--
View this message in context: http://www.nabble.com/Problem-with-2-shape-file-t1749584.html#a4756371
Sent from the GeoServer - User forum at Nabble.com.

Did you make a spatial index for them? Not having a spatial index can lead to some problems. Or does shp2sdo do that automatically?

Chris

worr wrote:

I have 2 shapes for the point and name of factory location files. I can view
both of them on ArcView. When I import them to oracle 10g using shp2sdo
tool, I am able to migrate and create feature both of them. However, the
error did happened when I click the Generate button.
Display error below
--------------------------

    * The FeatureType 'K50_FACTORY_LOCATION' has a NULL extent.
      HINT: the dataset is empty or has no default geometry attribute.

------------------------

After getting the errors, I try to click generate button serveral times.
Then, the error has gone. So, I went to see the preview feature in the map
preview. I cannot see the feature in the map preview everytime which it
should not happen like this. Anyway, my big problem I cannot see both layers
in the mapbuilder. It made my computer take a long time to calculate layers
with lots of exceptions.

If anyone want to see my shape file, please let me know.

Regards,
worr
--
View this message in context: http://www.nabble.com/Problem-with-2-shape-file-t1749584.html#a4756371
Sent from the GeoServer - User forum at Nabble.com.

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

!DSPAM:1003,44870f12271721425493344!

--
Chris Holmes
The Open Planning Project
http://topp.openplans.org

I created spatial index manually.
This is my sql
------------------
create index factory_spatial_index on K50_FACTORY_LOCATION (GEOM) indextype
is mdsys.spatial_index;
------------------
--
View this message in context: http://www.nabble.com/Problem-with-2-shape-file-t1749584.html#a4766345
Sent from the GeoServer - User forum at Nabble.com.

Now. I can solved this problem when I click generate button It not show
error.

Problem is each layer can display in mapbuilder.But I got error when I show
both feature in same page by cannot display all feature or not show any
thing.One layer is boundary and another one is point.

Any suggestion?
--
View this message in context: http://www.nabble.com/Problem-with-2-shape-file-t1749584.html#a4949466
Sent from the GeoServer - User forum at Nabble.com.