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

QGIS Create Project :: Not allowing for custom location_type values #223

Open
SteadyCadence opened this issue Jul 19, 2017 · 6 comments
Open

Comments

@SteadyCadence
Copy link
Contributor

I edited the json in the "Create Project" step and am still getting an error about the choices-- even though I edited the json to allow for that choice...

Not sure if this is API or QGIS issue.
screen shot 2017-07-19 at 4 58 06 am

@wonderchook, could you take a look?

@dpalomino
Copy link

Hey @SteadyCadence!

I saw this issue as well. I think it's related to having custom tenure_type or location_type choices.

screen shot 2017-07-17 at 17 38 28

Maybe an API issue? In that example OT and EP were location types.

@SteadyCadence
Copy link
Contributor Author

SteadyCadence commented Jul 20, 2017 via email

@dimasciput
Copy link
Collaborator

Could you copy here the json you edited?

@wonderchook
Copy link
Contributor

@SteadyCadence then how is the server sending back a 400 error? Do you mean it is hardcoded for when the questionnaire is created?

@oliverroick oliverroick removed their assignment Nov 17, 2017
@MappingKat
Copy link

I am running into this issue again. The location_type seem to be hard coded somewhere because it won't accept new values when I write it in json in the "Advanced" setting.

@MappingKat
Copy link

MappingKat commented Dec 7, 2017

Here is example json for the location type that I would like to use:

{
  "name": "location_type",
  "label": "Type of land",
  "type": "S1",
  "required": false,
  "options": [{
      "name": "agfield",
      "label": "Agricultural Field"
  },{
      "name": "bush",
      "label": "Bush"
  },{
      "name": "graze",
      "label": "Grazing Land"
  },{
      "name": "garden",
      "label": "Garden"
  },{
      "name": "woodland",
      "label": "Woodland"
  }]
}

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

6 participants