I think geonetwork includes geoserver right? perhaps install the geoserver
"importer" extension and call it a day?

-
http://docs.geoserver.org/stable/en/user/community/importer/guireference.html

Jody Garnett


On Wed, Aug 13, 2014 at 9:47 AM, Manuel <freaku...@gmx.de> wrote:

> Hello Jody,
>
> first I want to thank you very much for the help regarding the property
> file.
>
> But before I can do this I have to solve another problem which I (at the
> moment) can't figure out.
> I know that in Geonetwork the solution which I posted in my first post
> (
> http://sourceforge.net/p/geotools/mailman/geotools-gt2-users/thread/738a79f755e34812bcca697156397...@gmail.com/
> )
> worked in Geonetwork version 2.10.0.
> I am using Geonetwork version 2.10.3 and there is a difference in the
> "Add online resource" form. In v. 2.10.0 I had the opportunity to select
> a file even from my computer even I choose PostGIS database as protocol.
> Now (in v. 2.10.3) this opportunity isn't there anymore.
> If I am choosing the protocol "PostGIS database" I dont have the
> possibility to select a file from my computer to upload. Only if I
> choose File for Download I can select one, but this is not what I want.
> So I created a new SelectFile-Field within the LinkResourcesWindows.js
> and it appears in the online ressource form now. But if I choose a file
> to upload now, I will get a FileNotFoundException because the access to
> src\main\webapp\data\tmp folder is denied. So I cant upload a file for
> download and I cant upload a file for postGIS db.
> When I undo the changes in LinkResourcesWindows.js, the file for
> Download upload works fine again.
> Is this an issue and can it get solved?
>
> I know this mailinglist is not the geonetwork mailinglist, but maybe
> someone tried to implement the postgis upload in later versions and can
> help me. My greenhorn heart is happy about every advice :-)
> Thank you
> Manuel
>
> > Glad you are having fun, example code is what you make of it :) Thanks
> for
> > sending your example to the mailing list as that can be a help for
> others.
> >
> > One solution we use for user name and password is to "look up" the
> database
> > credentials in a property file (that you could locate in the "home
> > directory" used by the application).
> >
> > That is how we handle database testing for GeoTools. To run the tests
> > developers have to create a small property file telling the test case
> where
> > *their* database is.
> >
> > Jody Garnett
> >
> >
> >
>
>  >
>  >
>
> ------------------------------------------------------------------------------
>  > _______________________________________________
>  >  GeoTools-GT2-Users mailing list
>  > GeoTools-GT2-Users@lists.sourceforge.net
>  > https://lists.sourceforge.net/lists/listinfo /geotools-gt2-users
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> GeoTools-GT2-Users mailing list
> GeoTools-GT2-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
------------------------------------------------------------------------------
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to