Hi Paolo,
Unfortunately things not working like this in an unsupported module are
quite normal. They are very much a "use at your own risk". That said if I
remember the plugin correctly it avoids scanning all the collections from
mongo and instead the user has to manually configure a file containing the
list of layers. Regarding the creating of new feature types from scratch it
seems the plugin does not implement that functionality.
This is indeed an issue for geoserver and something that we plan to address
when we start on a newer mongo plugin for geotools. We have a project that
has secured the funding for the work but currently the project is focusing
on other deliverables and the mongo piece won't start until later on in the
year.
-Justin
On Mon, Aug 26, 2013 at 7:27 AM, Paolo Corti <pco...@gmail.com> wrote:
> Hello Justin
>
> thanks for your feedback.
>
> Sorry to get back into this after a long time, but I came back to give
> a try with this mongodb plugin only today.
> I could successfully install the plugin in GeoServer, and now I can
> create a MongoDB store in GeoServer.
> What I cannot figure out is how I can use my test MongoDB with it.
>
> As soon as I create the MongoDB datastore, a "New Layer" page is
> displayed, and the layer list is empty.
> There is a link to "Create new feature type...", and I click on it.
> I try adding some attributes, including a geometric one, but as soon
> as I try to save the new vector layer, a "
> Field 'Type name' is required." message is displayed and the layer
> cannot be created.
>
> Is there anyone that could give me some more details?
> thanks a lot
> p
>
>
> On Thu, Mar 21, 2013 at 2:46 PM, Justin Deoliveira <jdeol...@opengeo.org>
> wrote:
> > Hi Paolo,
> >
> > There is currently an unsupported module in GeoTools that provides
> access to
> > mongo, but its not being released through GeoServer in any way.
> >
> > We have a few clients interested in mongo support and have recently
> looked
> > at the plugin. Unfortunately the plug-in is a bit specific to the
> original
> > authors needs. It involves setting up specific mapping functions to map a
> > mongo collection to something the datastore can consume. That said I can
> > confirm that it works with some wrangling.
> >
> > In our evaluation of it we decided we wanted make the plugin a bit more
> > generic and be able to handle collections structured in multiple ways.
> But
> > that work has yet to start.
> >
> > And in the meantime the geospatial support in mongo has changed with the
> > coming of version 2.4, which now has real support (with index) for lines
> and
> > polygons.
> >
> > -Justin
> >
> >
> >
> > On Thu, Mar 21, 2013 at 4:25 AM, Paolo Corti <pco...@gmail.com> wrote:
> >>
> >> Hi list
> >> I have seen this presentation on slideshare [1], and I would like to
> >> get a try to the MongoDB plugin.
> >> Was it finally released?
> >> Only thing I could find is a GeoTools plugin [2], wondering if there
> >> is anything more consolidated or if I can find any sort of
> >> documentation to use the plugin in GeoServer
> >> thanks
> >> p
> >>
> >> [1]
> http://www.slideshare.net/mongodb/mongo-db-dc2013mongogeoserverfinal
> >> [2] http://repo.opengeo.org/org/geotools/gt-mongodb/8-SNAPSHOT/
> >>
> >> --
> >> Paolo Corti
> >> Geospatial software developer
> >> web: http://www.paolocorti.net
> >> twitter: @capooti
> >> skype: capooti
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Everyone hates slow websites. So do we.
> >> Make your web apps faster with AppDynamics
> >> Download AppDynamics Lite for free today:
> >> http://p.sf.net/sfu/appdyn_d2d_mar
> >> _______________________________________________
> >> Geoserver-users mailing list
> >> Geoserver-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> >
> >
> >
> >
> > --
> > Justin Deoliveira
> > OpenGeo - http://opengeo.org
> > Enterprise support for open source geospatial.
>
>
>
> --
> Paolo Corti
> Geospatial software developer
> web: http://www.paolocorti.net
> twitter: @capooti
> skype: capooti
>
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users