Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

database update #47

Open
Inaso89 opened this issue May 14, 2019 · 7 comments
Open

database update #47

Inaso89 opened this issue May 14, 2019 · 7 comments

Comments

@Inaso89
Copy link

Inaso89 commented May 14, 2019

hello,
highly admire ur work! how incredible!
I want to clarify a point if you allow me. if I hosted Gisgraphy server and imported some specific country database, does this database update periodically? I need the data to update periodically. does Gisgraphy support that?
thank you in advance

@gisgraphy
Copy link
Owner

gisgraphy commented May 15, 2019 via email

@Inaso89
Copy link
Author

Inaso89 commented May 18, 2019

so you mean that if I want to update the data, I have a choice of tow:

  1. I import the data again for free, and get an updated dataset.
  2. you can inject the updated data into my database without the need of re-importing and that will be paid.

@gisgraphy
Copy link
Owner

gisgraphy commented May 18, 2019 via email

@Inaso89
Copy link
Author

Inaso89 commented May 18, 2019

thank you so much for your quick response. highly appreciate :)

@Inaso89
Copy link
Author

Inaso89 commented May 22, 2019

hello again,
am trying to host Gisgraphy locally.I want to import data for only three countries. when I run the importer it's giving the NullPointerException as follows:
[ERROR] [com.gisgraphy.importer.AbstractSimpleImporterProcessor] [22 May 2019 12:45:29,541] (importBackgroundThread,) : An error occurred when processing GeonamesLanguageImporter : null java.lang.NullPointerException at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:824) at com.gisgraphy.importer.AbstractSimpleImporterProcessor.rollbackTransaction(AbstractSimpleImporterProcessor.java:439) at com.gisgraphy.importer.AbstractSimpleImporterProcessor.processFile(AbstractSimpleImporterProcessor.java:419) at com.gisgraphy.importer.AbstractSimpleImporterProcessor.process(AbstractSimpleImporterProcessor.java:306) at com.gisgraphy.importer.ImporterManager.importAll(ImporterManager.java:138) at com.gisgraphy.webapp.action.ImportAction.doImport(ImportAction.java:130) at com.gisgraphy.webapp.action.ImportAction.execute(ImportAction.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:441) at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:280) at org.apache.struts2.interceptor.BackgroundProcess$1.run(BackgroundProcess.java:57) at java.lang.Thread.run(Thread.java:748) [INFO] [com.gisgraphy.importer.ImporterManager] [22 May 2019 12:45:29,542] (importBackgroundThread,) : re-enabling stats [ERROR] [com.gisgraphy.importer.ImporterHelper] [22 May 2019 12:45:29,573] (importBackgroundThread,) : Can not determine HTTP file size of http://download.geonames.org/export/zip/OM.zip because it does not exists (404) [ERROR] [com.gisgraphy.importer.ImporterHelper] [22 May 2019 12:45:29,589] (importBackgroundThread,) : Can not determine HTTP file size of http://download.geonames.org/export/zip/SA.zip because it does not exists (404) [ERROR] [com.gisgraphy.importer.ImporterHelper] [22 May 2019 12:45:29,605] (importBackgroundThread,) : Can not determine HTTP file size of http://download.geonames.org/export/zip/AE.zip because it does not exists (404) [ERROR] [com.gisgraphy.importer.ImporterHelper] [22 May 2019 12:45:29,607] (importBackgroundThread,) : can not call a null URL
I tried to re-import the data excluding the Geonames data but it's still not working. any advice ?
thank you in advance

image

@Inaso89
Copy link
Author

Inaso89 commented May 27, 2019

I passed this problem with the aid of issue #27 . but it takes way too long to finish importing. and during the importing process i tried to geocode some cities but it didn't find them. am not sure if it needs to finish importing in order to return correct results.

@Inaso89
Copy link
Author

Inaso89 commented May 27, 2019

anyway, I need to make sure of the update issue. excuse me for bothering you again with the same issue.
actually, i am interested in buying the SA, EA, and OM data-sets. in addition, i need to update it, let's say every month. could you please clarify these points for me:

  1. every time there is an update I have to pay for it? it's not like a lifetime update "pay for it once and get it for the life time"
  2. in this case, I will pay for the updates per lines or per addresses? for instance, if there is only 100 new lines in the updated data how much will it cost?
  3. I've read once that there is an update for the OpenStreetMap data every week!! that means you have an updated data every week ? so for sure I will find an updated data every month for example?
    thank you in advance for your time
    Inas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants