Jump to content

jpsshort

Members
  • Posts

    19
  • Joined

  • Last visited

Posts posted by jpsshort

  1. Hi

     

    I have postgis enabled on my postgresql database: jpsshort_cms.    The version is 2.07.  I am getting an error when trying to create point data.  The message states that I need JSON-C for ST_GeomFromGeoJSON.

     

    The postgis version 2.07 needs JSON-C enabled in order for GeoJSON to work.

     

    On my computer using localhost  I am using postgis version 2.5.2 which works OK because JSON-C is automatically installed.

     

    Is it possible to have the later version of postgis if it is not possible to enable JSON-C on the current version 2.07 of postgis?

     

    Thanks

     

     

     

  2. I have created a second test database and note that it is created with the public schema which is controlled by postgres. 

     

    I assume that postgres must therefore give any users within that database privileges such as create delete etc.  If this is the case could the jpsshort_cms database with user jpsshort_admin be granted all privileges needed to operate the database please.

  3. Looking at the database it is under the public schema which is owned by postgres.  Does postgres need to give me permissions or is there another way to resolve the fact I do not seem to be able to control the database.  I tried to create an additional schema but that just caused the database to fail.  Your help would be appreciated as until I can access the database I cannot do any tests.

  4. Hi


     


    I can now remotely access my database jpsshort_cms with user jpsshort_admin.  However, I don't seem to have the ability to add any data to the database.  i was hoping to be able to create users who would have access to creating geometry tables.


     


    When I access this database it states that I have no privileges over any of the tables in the database.


     


    Your assistance would be appreciated.

  5. Hi

     

    I have now set up a postgresql  database and tried to enable postgis with the CREATE extension postgis.

     

    Unfortunately this did not work as anticipated. 

     

    SQL error:

    ERROR: syntax error at or near "create"
    LINE 1: SELECT COUNT(*) AS total FROM (create extension postgis) AS ...
    ^

     

    In statement:
    SELECT COUNT(*) AS total FROM (create extension postgis) AS sub

     

     

    Could you please let me know if it is possible to enable postgis.

     

    Many thanks

  6. Hi 

     

    Thanks for you for your prompt advice.

     

    I have just tried the insecure login option and it also comes up with this site cannot be reached. I am currently using a laptop with Windows 10 and I  using this from my home address.

     

    I only recently signed up with a Tommy invite. 

     

    Is it possible that I may not have set up my account properly?  The suggested login name was jpsshort on the first page of the sign up which I switched to jps47 on the second page.  I note however that this change did not happen to take effect.   However, is it a possible reason for the failure to connect.

     

    Sorry to be of trouble.

×
×
  • Create New...