How can I increase the maximum displayed points on Geometry Viewer? - postgis

I would like to know how to display more than 100 000 geometries on Geometry Viewer (I'm using PgAdmin 4 & PostgreSQL 9.6).
I have already tried this, which gives the advice to create a config_local.py file and to increase the number of the variable ON_DEMAND_RECORD_COUNT.
I need to display more than 450 000 geometries and have tried to increase the value of ON_DEMAND_RECORD_COUNT to 500 000, which causes PgAdmin to freeze.
Thank you in advance.

Related

SSRS - show missing axis on column chart where there are no values?

I have a column chart in SSRS that looks like the attached. This shows the percentage of calls across the day. I have been asked to also show the hours on the chart where there were zero calls.
I have tried adding this into my dataset in SQL however this turned almost 200 rows into 20000 rows (due to the period of time looked at which can sometimes be years)
I have tried using the lookup function to add a time dimension into my report, and then join the dataset onto this time dimension - I then found out that I can't use SUM in a lookup function so I am a bit stuck. Does anyone have any workarounds for this?
Value expression is "=Sum(Fields!Calls.Value) / Sum(Fields!Calls.Value, "UsageSummary")"
What chart looks like now (wrong)
What chart should look like (with all hours included)
Have you tried clicking on the horizontal axis properties
On the Axis Options update the Interval from Auto to 1

Talend Open Studio - Iterate all X rows and not for each row

I used talend for data extraction and insertion into OTSDB. But I need to cut my file, and a classic iteration take too much time (40 rows/s and I have 90 millions rows).
Do you know how to send for example 50 rows by 50 rows instead of each row individually?
The writing mode can be adjusted for many talend components.
The tMysqlOutput component for example can be configured to do an insert every X rows.
The tFileOutputDelimited (eg. CSV) has a setting for the flush buffer size.
Have a closer look at your component's advanced settings.

Percentage SSRS - two datasets

I've had a look at several questions which are answered on here and I seem to be doing it right bu the percentage is coming out a little different than expected.
Here's the expression:
=SUM(Fields!Dig_Team.Value,"PivotTable_1") / COUNT(Fields!Dig.Value,"Form_Count")
I am just looking for the percentage difference between the two. PivotTable_1 has the "total" and "Form Count" is the number difference I am trying to work out.
Pivot is a total from a pivot table and the Count dataset is just a basic COUNT([Table]) field.
As it stands two values to work from are:
Pivot = 175 Count = 16
My percentage shows as 8.21% (formatted the text box field as percentage)
Calculators and websites show this should be around 9.1%..
Any help or ideas on where I am going wrong?
Figured I could just use the totals which are output by the report.
=ReportItems!Textbox127.Value / ReportItems!Barrierman1.Value

SSRS 2008 wordwrapping issues

i am using SSRS 2008 and currently I am facing wordwrapping issues.
In report I am placing a table and some 6 columns.
My report size is A4 landscape.
When running the report,one of the column has a large value without any spaces,the column was not wrapping up,so I changed the layout to A3 landscape and the wrapping started working..
Is there any relation to wordwrap and page size?
And sometimes when I provide dynamic sort to column,the wordwrap is not working..
And this wordwrapping is happening very slow in IE browser and sometimes on refresh only the wrap is happening..
it sounds like the issue might be that the content for your report might be bigger for the page size you've fit. A3 is signifigantly larger than A4. what you should try is getting the content of the report to fit in an 8 1/2 x 11 size (minus a 1 inch margin so it's really 6 1/2 x 9) in the designer.

Reporting Services Chart - Hard Coded Series

I am developing an SSRS 2008 report which contains a number of simple charts. On the x axis I have the 12 months of this year - Jan 2009 thru December 2009. On the Y is an integer value ranging from 0 to 100 in increments of 10. I am plotting the number of times an issue occurred per month. So January could have a value of 10, February 30, etc. etc.
I would like to have a horizontal line/series that is constant and shows the yearly average for 2008. So, say the average was 30 issues per month in 2008, I would like for that line to be shown in my chart. Basically, I want to draw a straight line across the chart for that value... I can see how to add more complex series, but this seemingly simple task is getting the better of me.
Doe anyone have any idea how this could be accomplished?
Thanks in advance,
Jason
[Update] To add some further details, I am already pulling the average for each row in my dataset and have it set up as its own series. However, rather than plotting a line, this approach plots individual points for each month. While this is close to what I want, I need to join the dots so to speak. The chart is of the Error Bar (Range) variety.
Can you use a column / line hybrid chart? If so then add a constant or dynamic target value to the chart:
Design the chart.
On the Data tab in the Chart Properties dialog box, add a new data value (for example, Target).
Set the target value (see the example in Figure 9 on link this uses a constant target value of 100000 across all categories but you can do it dynamically too). Make sure to use an expression starting with = (equals). Otherwise, the value is not interpreted as a numeric value.
See the example on the MS charts page at http://msdn.microsoft.com/en-us/library/aa964128.aspx
Add the yearly average to each row in the underlying the query. Add data series on just that value.
I managed to solve this issue myself.
As I mentioned, I was using an Error Bar graph. Right-clicking on the series of interest, I was able to change the graph type for that particular series - essentially leaving me with a chart with multiple graphs in it...particularly simple if you know where to look - which i did not! Thanks everyone for your suggestions.

Resources